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