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