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