whenOrNull<TResult extends Object?> method
Null safety
- {TResult? linear(
- TResult? cubic( )?,
- TResult? decelerate(
- TResult? bounceIn(
- TResult? bounceOut(
- TResult? bounceInOut(
- TResult? elasticIn(
- TResult? elasticOut(
- TResult? elasticInOut(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;