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