map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. TResult $default(
    1. PreferredSize value
    ),
  2. {required TResult appBar(
    1. AppBar value
    ),
  3. required TResult tabBar(
    1. TabBar value
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>(
  TResult Function(PreferredSize value) $default, {
  required TResult Function(AppBar value) appBar,
  required TResult Function(TabBar value) tabBar,
}) =>
    throw _privateConstructorUsedError;