maybeWhen<TResult extends Object?> method
Null safety
- {TResult linear(
- TResult cubic( )?,
- TResult decelerate(
- TResult bounceIn(
- TResult bounceOut(
- TResult bounceInOut(
- TResult elasticIn(
- TResult elasticOut(
- TResult elasticInOut(
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function()? linear,
TResult Function(double x1, double y1, double x2, double y2)? cubic,
TResult Function()? decelerate,
TResult Function()? bounceIn,
TResult Function()? bounceOut,
TResult Function()? bounceInOut,
TResult Function()? elasticIn,
TResult Function()? elasticOut,
TResult Function()? elasticInOut,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;