map<TResult extends Object?> method
Null safety
- {required TResult linear(
- LinearCurve value
- required TResult cubic(
- Cubic value
- required TResult decelerate(
- DecelerateCurve value
- required TResult bounceIn(
- BounceInCurve value
- required TResult bounceOut(
- BounceOutCurve value
- required TResult bounceInOut(
- BounceInOutCurve value
- required TResult elasticIn(
- ElasticInCurve value
- required TResult elasticOut(
- ElasticOutCurve value
- required TResult elasticInOut(
- 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;