whenOrNull<TResult extends Object?> method
Null safety
- {TResult? rotation(
- double radians
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(double radians)? rotation,
}) =>
throw _privateConstructorUsedError;