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