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