whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- 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
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;