maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult blazerShirt(
- Color color
- TResult blazerSweater(
- Color color
- TResult collarSweater(
- Color color
- TResult graphicShirt(
- Color color
- TResult hoodie(
- Color color
- TResult overall(
- Color color
- TResult shirtCrewNeck(
- Color color
- TResult shirtScoopNeck(
- Color color
- TResult shirtVNeck(
- Color color
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(@ColorSerialiser() Color color)? blazerShirt,
TResult Function(@ColorSerialiser() Color color)? blazerSweater,
TResult Function(@ColorSerialiser() Color color)? collarSweater,
TResult Function(@ColorSerialiser() Color color)? graphicShirt,
TResult Function(@ColorSerialiser() Color color)? hoodie,
TResult Function(@ColorSerialiser() Color color)? overall,
TResult Function(@ColorSerialiser() Color color)? shirtCrewNeck,
TResult Function(@ColorSerialiser() Color color)? shirtScoopNeck,
TResult Function(@ColorSerialiser() Color color)? shirtVNeck,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;