map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. TResult $default(
    1. _ScrollPhysics value
    ),
  2. {required TResult rangeMaintaining(
    1. RangeMaintainingScrollPhysics value
    ),
  3. required TResult bouncingScroll(
    1. BouncingScrollScrollPhysics value
    ),
  4. required TResult clamping(
    1. ClampingScrollPhysics value
    ),
  5. required TResult alwaysScrollable(
    1. AlwaysScrollableScrollPhysics value
    ),
  6. required TResult neverScrollable(
    1. NeverScrollableScrollPhysics value
    ),
  7. required TResult pageScroll(
    1. PageScrollPhysics value
    ),
  8. required TResult fixedExtent(
    1. FixedExtentScrollPhysics value
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>(
  TResult Function(_ScrollPhysics value) $default, {
  required TResult Function(RangeMaintainingScrollPhysics value)
      rangeMaintaining,
  required TResult Function(BouncingScrollScrollPhysics value) bouncingScroll,
  required TResult Function(ClampingScrollPhysics value) clamping,
  required TResult Function(AlwaysScrollableScrollPhysics value)
      alwaysScrollable,
  required TResult Function(NeverScrollableScrollPhysics value)
      neverScrollable,
  required TResult Function(PageScrollPhysics value) pageScroll,
  required TResult Function(FixedExtentScrollPhysics value) fixedExtent,
}) =>
    throw _privateConstructorUsedError;