map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult noHair(
    1. AvataaarTypeHairNoHair value
    ),
  2. required TResult eyepatch(
    1. AvataaarTypeHairEyepatch value
    ),
  3. required TResult hat(
    1. AvataaarTypeHairHat value
    ),
  4. required TResult hijab(
    1. AvataaarTypeHairHijab value
    ),
  5. required TResult turban(
    1. AvataaarTypeHairTurban value
    ),
  6. required TResult winterHat1(
    1. AvataaarTypeHairWinterHat1 value
    ),
  7. required TResult winterHat2(
    1. AvataaarTypeHairWinterHat2 value
    ),
  8. required TResult winterHat3(
    1. AvataaarTypeHairWinterHat3 value
    ),
  9. required TResult winterHat4(
    1. AvataaarTypeHairWinterHat4 value
    ),
  10. required TResult longHairBigHair(
    1. AvataaarTypeHairLongHairBigHair value
    ),
  11. required TResult longHairBob(
    1. AvataaarTypeHairLongHarBob value
    ),
  12. required TResult longHairBun(
    1. AvataaarTypeHairLongHairBun value
    ),
  13. required TResult longHairCurly(
    1. AvataaarTypeHairLongHairCurly value
    ),
  14. required TResult longHairCurvy(
    1. AvataaarTypeHairLongHairCurvy value
    ),
  15. required TResult longHairDreads(
    1. AvataaarTypeHairLongHairDreads value
    ),
  16. required TResult longHairFrida(
    1. AvataaarTypeHairLongHairFrida value
    ),
  17. required TResult longHairFro(
    1. AvataaarTypeHairLongHairFro value
    ),
  18. required TResult longHairFroBand(
    1. AvataaarTypeHairLongHairFroBand value
    ),
  19. required TResult longHairNotTooLong(
    1. AvataaarTypeHairLongHairNotTooLong value
    ),
  20. required TResult longHairShavedSides(
    1. AvataaarTypeHairLongHairShavedSides value
    ),
  21. required TResult longHairMiaWallace(
    1. AvataaarTypeHairLongHairMiaWallace value
    ),
  22. required TResult longHairStraight(
    1. AvataaarTypeHairLongHairStraight value
    ),
  23. required TResult longHairStraight2(
    1. AvataaarTypeHairLongHairStraight2 value
    ),
  24. required TResult longHairStraightStrand(
    1. AvataaarTypeHairLongHairStraightStrand value
    ),
  25. required TResult shortHairDreads01(
    1. AvataaarTypeHairShortHairDreads01 value
    ),
  26. required TResult shortHairDreads02(
    1. AvataaarTypeHairShortHairDreads02 value
    ),
  27. required TResult shortHairFrizzle(
    1. AvataaarTypeHairShortHairFrizzle value
    ),
  28. required TResult shortHairShaggyMullet(
    1. AvataaarTypeHairShortHairShaggyMullet value
    ),
  29. required TResult shortHairShortCurly(
    1. AvataaarTypeHairShortHairShortCurly value
    ),
  30. required TResult shortHairShortFlat(
    1. AvataaarTypeHairShortHairShortFlat value
    ),
  31. required TResult shortHairShortRound(
    1. AvataaarTypeHairShortHairShortRound value
    ),
  32. required TResult shortHairShortWaved(
    1. AvataaarTypeHairShortHairShortWaved value
    ),
  33. required TResult shortHairSides(
    1. AvataaarTypeHairShortHairSides value
    ),
  34. required TResult shortHairTheCaesar(
    1. AvataaarTypeHairShortHairTheCaesar value
    ),
  35. required TResult shortHairTheCaesarSidePart(
    1. AvataaarTypeHairShortHairTheCaesarSidePart value
    ),
})
inherited

Implementation

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