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