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