mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult noHair(
- AvataaarTypeHairNoHair value
- TResult eyepatch(
- AvataaarTypeHairEyepatch value
- TResult hat(
- AvataaarTypeHairHat value
- TResult hijab(
- AvataaarTypeHairHijab value
- TResult turban(
- AvataaarTypeHairTurban value
- TResult winterHat1()?,
- TResult winterHat2()?,
- TResult winterHat3()?,
- TResult winterHat4()?,
- TResult longHairBigHair()?,
- TResult longHairBob()?,
- TResult longHairBun()?,
- TResult longHairCurly()?,
- TResult longHairCurvy()?,
- TResult longHairDreads()?,
- TResult longHairFrida()?,
- TResult longHairFro()?,
- TResult longHairFroBand()?,
- TResult longHairNotTooLong()?,
- TResult longHairShavedSides()?,
- TResult longHairMiaWallace()?,
- TResult longHairStraight()?,
- TResult longHairStraight2()?,
- TResult longHairStraightStrand()?,
- TResult shortHairDreads01()?,
- TResult shortHairDreads02()?,
- TResult shortHairFrizzle()?,
- TResult shortHairShaggyMullet()?,
- TResult shortHairShortCurly()?,
- TResult shortHairShortFlat()?,
- TResult shortHairShortRound()?,
- TResult shortHairShortWaved()?,
- TResult shortHairSides()?,
- TResult shortHairTheCaesar()?,
- TResult shortHairTheCaesarSidePart()?,
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult Function(AvataaarTypeHairNoHair value)? noHair,
TResult Function(AvataaarTypeHairEyepatch value)? eyepatch,
TResult Function(AvataaarTypeHairHat value)? hat,
TResult Function(AvataaarTypeHairHijab value)? hijab,
TResult Function(AvataaarTypeHairTurban value)? turban,
TResult Function(AvataaarTypeHairWinterHat1 value)? winterHat1,
TResult Function(AvataaarTypeHairWinterHat2 value)? winterHat2,
TResult Function(AvataaarTypeHairWinterHat3 value)? winterHat3,
TResult Function(AvataaarTypeHairWinterHat4 value)? winterHat4,
TResult Function(AvataaarTypeHairLongHairBigHair value)? longHairBigHair,
TResult Function(AvataaarTypeHairLongHarBob value)? longHairBob,
TResult Function(AvataaarTypeHairLongHairBun value)? longHairBun,
TResult Function(AvataaarTypeHairLongHairCurly value)? longHairCurly,
TResult Function(AvataaarTypeHairLongHairCurvy value)? longHairCurvy,
TResult Function(AvataaarTypeHairLongHairDreads value)? longHairDreads,
TResult Function(AvataaarTypeHairLongHairFrida value)? longHairFrida,
TResult Function(AvataaarTypeHairLongHairFro value)? longHairFro,
TResult Function(AvataaarTypeHairLongHairFroBand value)? longHairFroBand,
TResult Function(AvataaarTypeHairLongHairNotTooLong value)?
longHairNotTooLong,
TResult Function(AvataaarTypeHairLongHairShavedSides value)?
longHairShavedSides,
TResult Function(AvataaarTypeHairLongHairMiaWallace value)?
longHairMiaWallace,
TResult Function(AvataaarTypeHairLongHairStraight value)? longHairStraight,
TResult Function(AvataaarTypeHairLongHairStraight2 value)?
longHairStraight2,
TResult Function(AvataaarTypeHairLongHairStraightStrand value)?
longHairStraightStrand,
TResult Function(AvataaarTypeHairShortHairDreads01 value)?
shortHairDreads01,
TResult Function(AvataaarTypeHairShortHairDreads02 value)?
shortHairDreads02,
TResult Function(AvataaarTypeHairShortHairFrizzle value)? shortHairFrizzle,
TResult Function(AvataaarTypeHairShortHairShaggyMullet value)?
shortHairShaggyMullet,
TResult Function(AvataaarTypeHairShortHairShortCurly value)?
shortHairShortCurly,
TResult Function(AvataaarTypeHairShortHairShortFlat value)?
shortHairShortFlat,
TResult Function(AvataaarTypeHairShortHairShortRound value)?
shortHairShortRound,
TResult Function(AvataaarTypeHairShortHairShortWaved value)?
shortHairShortWaved,
TResult Function(AvataaarTypeHairShortHairSides value)? shortHairSides,
TResult Function(AvataaarTypeHairShortHairTheCaesar value)?
shortHairTheCaesar,
TResult Function(AvataaarTypeHairShortHairTheCaesarSidePart value)?
shortHairTheCaesarSidePart,
}) =>
throw _privateConstructorUsedError;