map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult linear(
    1. LinearCurve value
    ),
  2. required TResult cubic(
    1. Cubic value
    ),
  3. required TResult decelerate(
    1. DecelerateCurve value
    ),
  4. required TResult bounceIn(
    1. BounceInCurve value
    ),
  5. required TResult bounceOut(
    1. BounceOutCurve value
    ),
  6. required TResult bounceInOut(
    1. BounceInOutCurve value
    ),
  7. required TResult elasticIn(
    1. ElasticInCurve value
    ),
  8. required TResult elasticOut(
    1. ElasticOutCurve value
    ),
  9. required TResult elasticInOut(
    1. ElasticInOutCurve value
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(LinearCurve value) linear,
  required TResult Function(Cubic value) cubic,
  required TResult Function(DecelerateCurve value) decelerate,
  required TResult Function(BounceInCurve value) bounceIn,
  required TResult Function(BounceOutCurve value) bounceOut,
  required TResult Function(BounceInOutCurve value) bounceInOut,
  required TResult Function(ElasticInCurve value) elasticIn,
  required TResult Function(ElasticOutCurve value) elasticOut,
  required TResult Function(ElasticInOutCurve value) elasticInOut,
}) =>
    throw _privateConstructorUsedError;