whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult noHair(
- Color color
- TResult eyepatch(
- Color color
- TResult hat(
- Color color
- TResult hijab(
- Color color
- TResult turban(
- Color color
- TResult winterHat1(
- Color color
- TResult winterHat2(
- Color color
- TResult winterHat3(
- Color color
- TResult winterHat4(
- Color color
- TResult longHairBigHair(
- Color color
- TResult longHairBob(
- Color color
- TResult longHairBun(
- Color color
- TResult longHairCurly(
- Color color
- TResult longHairCurvy(
- Color color
- TResult longHairDreads(
- Color color
- TResult longHairFrida(
- Color color
- TResult longHairFro(
- Color color
- TResult longHairFroBand(
- Color color
- TResult longHairNotTooLong(
- Color color
- TResult longHairShavedSides(
- Color color
- TResult longHairMiaWallace(
- Color color
- TResult longHairStraight(
- Color color
- TResult longHairStraight2(
- Color color
- TResult longHairStraightStrand(
- Color color
- TResult shortHairDreads01(
- Color color
- TResult shortHairDreads02(
- Color color
- TResult shortHairFrizzle(
- Color color
- TResult shortHairShaggyMullet(
- Color color
- TResult shortHairShortCurly(
- Color color
- TResult shortHairShortFlat(
- Color color
- TResult shortHairShortRound(
- Color color
- TResult shortHairShortWaved(
- Color color
- TResult shortHairSides(
- Color color
- TResult shortHairTheCaesar(
- Color color
- TResult shortHairTheCaesarSidePart(
- Color color
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult Function(@ColorSerialiser() Color color)? noHair,
TResult Function(@ColorSerialiser() Color color)? eyepatch,
TResult Function(@ColorSerialiser() Color color)? hat,
TResult Function(@ColorSerialiser() Color color)? hijab,
TResult Function(@ColorSerialiser() Color color)? turban,
TResult Function(@ColorSerialiser() Color color)? winterHat1,
TResult Function(@ColorSerialiser() Color color)? winterHat2,
TResult Function(@ColorSerialiser() Color color)? winterHat3,
TResult Function(@ColorSerialiser() Color color)? winterHat4,
TResult Function(@ColorSerialiser() Color color)? longHairBigHair,
TResult Function(@ColorSerialiser() Color color)? longHairBob,
TResult Function(@ColorSerialiser() Color color)? longHairBun,
TResult Function(@ColorSerialiser() Color color)? longHairCurly,
TResult Function(@ColorSerialiser() Color color)? longHairCurvy,
TResult Function(@ColorSerialiser() Color color)? longHairDreads,
TResult Function(@ColorSerialiser() Color color)? longHairFrida,
TResult Function(@ColorSerialiser() Color color)? longHairFro,
TResult Function(@ColorSerialiser() Color color)? longHairFroBand,
TResult Function(@ColorSerialiser() Color color)? longHairNotTooLong,
TResult Function(@ColorSerialiser() Color color)? longHairShavedSides,
TResult Function(@ColorSerialiser() Color color)? longHairMiaWallace,
TResult Function(@ColorSerialiser() Color color)? longHairStraight,
TResult Function(@ColorSerialiser() Color color)? longHairStraight2,
TResult Function(@ColorSerialiser() Color color)? longHairStraightStrand,
TResult Function(@ColorSerialiser() Color color)? shortHairDreads01,
TResult Function(@ColorSerialiser() Color color)? shortHairDreads02,
TResult Function(@ColorSerialiser() Color color)? shortHairFrizzle,
TResult Function(@ColorSerialiser() Color color)? shortHairShaggyMullet,
TResult Function(@ColorSerialiser() Color color)? shortHairShortCurly,
TResult Function(@ColorSerialiser() Color color)? shortHairShortFlat,
TResult Function(@ColorSerialiser() Color color)? shortHairShortRound,
TResult Function(@ColorSerialiser() Color color)? shortHairShortWaved,
TResult Function(@ColorSerialiser() Color color)? shortHairSides,
TResult Function(@ColorSerialiser() Color color)? shortHairTheCaesar,
TResult Function(@ColorSerialiser() Color color)?
shortHairTheCaesarSidePart,
}) =>
throw _privateConstructorUsedError;