maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult blank(
- Color color
- TResult beardMedium(
- Color color
- TResult beardLight(
- Color color
- TResult beardMajestic(
- Color color
- TResult moustacheFancy(
- Color color
- TResult moustacheMagnum(
- Color color
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(@ColorSerialiser() Color color)? blank,
TResult Function(@ColorSerialiser() Color color)? beardMedium,
TResult Function(@ColorSerialiser() Color color)? beardLight,
TResult Function(@ColorSerialiser() Color color)? beardMajestic,
TResult Function(@ColorSerialiser() Color color)? moustacheFancy,
TResult Function(@ColorSerialiser() Color color)? moustacheMagnum,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;