maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult noHair(
    1. _NoHair value
    )?,
  2. TResult eyepatch(
    1. _Eyepatch value
    )?,
  3. TResult hat(
    1. _Hat value
    )?,
  4. TResult hijab(
    1. _Hijab value
    )?,
  5. TResult turban(
    1. _Turban value
    )?,
  6. TResult winterHat1(
    1. _Winterhat1 value
    )?,
  7. TResult winterHat2(
    1. _Winterhat2 value
    )?,
  8. TResult winterHat3(
    1. _Winterhat3 value
    )?,
  9. TResult winterHat4(
    1. _Winterhat4 value
    )?,
  10. TResult longHairBigHair(
    1. _LongHairBigHair value
    )?,
  11. TResult longHairBob(
    1. _LongHairBob value
    )?,
  12. TResult longHairBun(
    1. _LongHairBun value
    )?,
  13. TResult longHairCurly(
    1. _LongHairCurly value
    )?,
  14. TResult longHairCurvy(
    1. _LongHairCurvy value
    )?,
  15. TResult longHairDreads(
    1. _LongHairDreads value
    )?,
  16. TResult longHairFrida(
    1. _LongHairFrida value
    )?,
  17. TResult longHairFro(
    1. _LongHairFro value
    )?,
  18. TResult longHairFroBand(
    1. _LongHairFroBand value
    )?,
  19. TResult longHairNotTooLong(
    1. _LongHairNotTooLong value
    )?,
  20. TResult longHairShavedSides(
    1. _LongHairShavedSides value
    )?,
  21. TResult longHairMiaWallace(
    1. _LongHairMiaWallace value
    )?,
  22. TResult longHairStraight(
    1. _LongHairStraight value
    )?,
  23. TResult longHairStraight2(
    1. _LongHairStraight2 value
    )?,
  24. TResult longHairStraightStrand(
    1. _LongHairStraightStrand value
    )?,
  25. TResult shortHairDreads01(
    1. _ShortHairDreads01 value
    )?,
  26. TResult shortHairDreads02(
    1. _ShortHairDreads02 value
    )?,
  27. TResult shortHairFrizzle(
    1. _ShortHairFrizzle value
    )?,
  28. TResult shortHairShaggyMullet(
    1. _ShortHairShaggyMullet value
    )?,
  29. TResult shortHairShortCurly(
    1. _ShortHairShortCurly value
    )?,
  30. TResult shortHairShortFlat(
    1. _ShortHairShortFlat value
    )?,
  31. TResult shortHairShortRound(
    1. _ShortHairShortRound value
    )?,
  32. TResult shortHairShortWaved(
    1. _ShortHairShortWaved value
    )?,
  33. TResult shortHairSides(
    1. _ShortHairSides value
    )?,
  34. TResult shortHairTheCaesar(
    1. _ShortHairTheCaesar value
    )?,
  35. TResult shortHairTheCaesarSidePart(
    1. _ShortHairTheCaesarSidePart value
    )?,
  36. TResult eyesClosed(
    1. _EyesClosed value
    )?,
  37. TResult eyesCry(
    1. _EyesCry value
    )?,
  38. TResult eyesDefault(
    1. _EyesDefault value
    )?,
  39. TResult eyesDizzy(
    1. _EyesDizzy value
    )?,
  40. TResult eyesEyeRoll(
    1. _EyesEyeRoll value
    )?,
  41. TResult eyesHappy(
    1. _EyesHappy value
    )?,
  42. TResult eyesHearts(
    1. _EyesHearts value
    )?,
  43. TResult eyesSide(
    1. _EyesSide value
    )?,
  44. TResult eyesSurprised(
    1. _EyesSurprised value
    )?,
  45. TResult eyesWink(
    1. _EyesWink value
    )?,
  46. TResult eyesWinkWacky(
    1. _EyesWinkWacky value
    )?,
  47. TResult eyesSquint(
    1. _EyesSquint value
    )?,
  48. TResult blank(
    1. _Blank value
    )?,
  49. TResult kurt(
    1. _Kurt value
    )?,
  50. TResult prescription01(
    1. _Prescription01 value
    )?,
  51. TResult prescription02(
    1. _Prescription02 value
    )?,
  52. TResult roundGlasses(
    1. _RoundGlasses value
    )?,
  53. TResult sunglasses(
    1. _Sunglasses value
    )?,
  54. TResult wayfarers(
    1. _Wayfarers value
    )?,
  55. TResult blazerShirt(
    1. _BlazerShirt value
    )?,
  56. TResult blazerSweater(
    1. _BlazerSweater value
    )?,
  57. TResult collarSweater(
    1. _CollarSweater value
    )?,
  58. TResult graphicShirt(
    1. _GraphicShirt value
    )?,
  59. TResult hoodie(
    1. _Hoodie value
    )?,
  60. TResult overall(
    1. _Overall value
    )?,
  61. TResult shirtCrewNeck(
    1. _ShirtCrewNeck value
    )?,
  62. TResult shirtScoopNeck(
    1. _ShirtScoopNeck value
    )?,
  63. TResult shirtVNeck(
    1. _ShirtVNeck value
    )?,
  64. TResult bat(
    1. _Bat value
    )?,
  65. TResult bear(
    1. _Bear value
    )?,
  66. TResult cumbia(
    1. _Cumbia value
    )?,
  67. TResult deer(
    1. _Deer value
    )?,
  68. TResult diamond(
    1. _Diamond value
    )?,
  69. TResult hola(
    1. _Hola value
    )?,
  70. TResult pizza(
    1. _Pizza value
    )?,
  71. TResult resist(
    1. _Resist value
    )?,
  72. TResult selena(
    1. _Selena value
    )?,
  73. TResult skull(
    1. _Skull value
    )?,
  74. TResult skullOutline(
    1. _SkullOutline value
    )?,
  75. TResult angry(
    1. _Angry value
    )?,
  76. TResult angryNatural(
    1. _AngryNatural value
    )?,
  77. TResult default0(
    1. _Default0 value
    )?,
  78. TResult defaultNatural(
    1. _DefaultNatural value
    )?,
  79. TResult flatNatural(
    1. _FlatNatural value
    )?,
  80. TResult frownNatural(
    1. _FrownNatural value
    )?,
  81. TResult raisedExcited(
    1. _RaisedExcited value
    )?,
  82. TResult raisedExcitedNatural(
    1. _RaisedExcitedNatural value
    )?,
  83. TResult sadConcerned(
    1. _SadConcerned value
    )?,
  84. TResult sadConcernedNatural(
    1. _SadConcernedNatural value
    )?,
  85. TResult unibrowNatural(
    1. _UnibrowNatural value
    )?,
  86. TResult upDown(
    1. _UpDown value
    )?,
  87. TResult upDownNatural(
    1. _UpDownNatural value
    )?,
  88. TResult beardMedium(
    1. _BeardMedium value
    )?,
  89. TResult beardLight(
    1. _BeardLight value
    )?,
  90. TResult beardMajestic(
    1. _BeardMajestic value
    )?,
  91. TResult moustacheFancy(
    1. _MoustacheFancy value
    )?,
  92. TResult moustacheMagnum(
    1. _MoustacheMagnum value
    )?,
  93. TResult concerned(
    1. _Concerned value
    )?,
  94. TResult disbelief(
    1. _Disbelief value
    )?,
  95. TResult eating(
    1. _Eating value
    )?,
  96. TResult grimace(
    1. _Grimace value
    )?,
  97. TResult sad(
    1. _Sad value
    )?,
  98. TResult screamOpen(
    1. _ScreamOpen value
    )?,
  99. TResult serious(
    1. _Serious value
    )?,
  100. TResult smile(
    1. _Smile value
    )?,
  101. TResult tongue(
    1. _Tongue value
    )?,
  102. TResult twinkle(
    1. _Twinkle value
    )?,
  103. TResult vomit(
    1. _Vomit value
    )?,
  104. TResult tanned(
    1. _Tanned value
    )?,
  105. TResult yellow(
    1. _Yellow value
    )?,
  106. TResult pale(
    1. _Pale value
    )?,
  107. TResult light(
    1. _Light value
    )?,
  108. TResult brown(
    1. _Brown value
    )?,
  109. TResult darkBrown(
    1. _DarkBrown value
    )?,
  110. TResult black(
    1. _Black value
    )?,
  111. TResult custom(
    1. _Custom value
    )?,
  112. TResult circle(
    1. _Circle value
    )?,
  113. TResult transparent(
    1. _Transparent value
    )?,
  114. TResult hair(
    1. _Hair value
    )?,
  115. TResult accessory(
    1. _Accessory value
    )?,
  116. TResult facialHair(
    1. _FacialHair value
    )?,
  117. TResult clothes(
    1. _Clothes value
    )?,
  118. TResult graphics(
    1. _Graphics value
    )?,
  119. TResult eyes(
    1. _Eyes value
    )?,
  120. TResult eyebrow(
    1. _Eyebrow value
    )?,
  121. TResult mouth(
    1. _Mouth value
    )?,
  122. TResult skin(
    1. _Skin value
    )?,
  123. TResult nose(
    1. _Nose value
    )?,
  124. TResult style(
    1. _Style value
    )?,
  125. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(_NoHair value)? noHair,
  TResult Function(_Eyepatch value)? eyepatch,
  TResult Function(_Hat value)? hat,
  TResult Function(_Hijab value)? hijab,
  TResult Function(_Turban value)? turban,
  TResult Function(_Winterhat1 value)? winterHat1,
  TResult Function(_Winterhat2 value)? winterHat2,
  TResult Function(_Winterhat3 value)? winterHat3,
  TResult Function(_Winterhat4 value)? winterHat4,
  TResult Function(_LongHairBigHair value)? longHairBigHair,
  TResult Function(_LongHairBob value)? longHairBob,
  TResult Function(_LongHairBun value)? longHairBun,
  TResult Function(_LongHairCurly value)? longHairCurly,
  TResult Function(_LongHairCurvy value)? longHairCurvy,
  TResult Function(_LongHairDreads value)? longHairDreads,
  TResult Function(_LongHairFrida value)? longHairFrida,
  TResult Function(_LongHairFro value)? longHairFro,
  TResult Function(_LongHairFroBand value)? longHairFroBand,
  TResult Function(_LongHairNotTooLong value)? longHairNotTooLong,
  TResult Function(_LongHairShavedSides value)? longHairShavedSides,
  TResult Function(_LongHairMiaWallace value)? longHairMiaWallace,
  TResult Function(_LongHairStraight value)? longHairStraight,
  TResult Function(_LongHairStraight2 value)? longHairStraight2,
  TResult Function(_LongHairStraightStrand value)? longHairStraightStrand,
  TResult Function(_ShortHairDreads01 value)? shortHairDreads01,
  TResult Function(_ShortHairDreads02 value)? shortHairDreads02,
  TResult Function(_ShortHairFrizzle value)? shortHairFrizzle,
  TResult Function(_ShortHairShaggyMullet value)? shortHairShaggyMullet,
  TResult Function(_ShortHairShortCurly value)? shortHairShortCurly,
  TResult Function(_ShortHairShortFlat value)? shortHairShortFlat,
  TResult Function(_ShortHairShortRound value)? shortHairShortRound,
  TResult Function(_ShortHairShortWaved value)? shortHairShortWaved,
  TResult Function(_ShortHairSides value)? shortHairSides,
  TResult Function(_ShortHairTheCaesar value)? shortHairTheCaesar,
  TResult Function(_ShortHairTheCaesarSidePart value)?
      shortHairTheCaesarSidePart,
  TResult Function(_EyesClosed value)? eyesClosed,
  TResult Function(_EyesCry value)? eyesCry,
  TResult Function(_EyesDefault value)? eyesDefault,
  TResult Function(_EyesDizzy value)? eyesDizzy,
  TResult Function(_EyesEyeRoll value)? eyesEyeRoll,
  TResult Function(_EyesHappy value)? eyesHappy,
  TResult Function(_EyesHearts value)? eyesHearts,
  TResult Function(_EyesSide value)? eyesSide,
  TResult Function(_EyesSurprised value)? eyesSurprised,
  TResult Function(_EyesWink value)? eyesWink,
  TResult Function(_EyesWinkWacky value)? eyesWinkWacky,
  TResult Function(_EyesSquint value)? eyesSquint,
  TResult Function(_Blank value)? blank,
  TResult Function(_Kurt value)? kurt,
  TResult Function(_Prescription01 value)? prescription01,
  TResult Function(_Prescription02 value)? prescription02,
  TResult Function(_RoundGlasses value)? roundGlasses,
  TResult Function(_Sunglasses value)? sunglasses,
  TResult Function(_Wayfarers value)? wayfarers,
  TResult Function(_BlazerShirt value)? blazerShirt,
  TResult Function(_BlazerSweater value)? blazerSweater,
  TResult Function(_CollarSweater value)? collarSweater,
  TResult Function(_GraphicShirt value)? graphicShirt,
  TResult Function(_Hoodie value)? hoodie,
  TResult Function(_Overall value)? overall,
  TResult Function(_ShirtCrewNeck value)? shirtCrewNeck,
  TResult Function(_ShirtScoopNeck value)? shirtScoopNeck,
  TResult Function(_ShirtVNeck value)? shirtVNeck,
  TResult Function(_Bat value)? bat,
  TResult Function(_Bear value)? bear,
  TResult Function(_Cumbia value)? cumbia,
  TResult Function(_Deer value)? deer,
  TResult Function(_Diamond value)? diamond,
  TResult Function(_Hola value)? hola,
  TResult Function(_Pizza value)? pizza,
  TResult Function(_Resist value)? resist,
  TResult Function(_Selena value)? selena,
  TResult Function(_Skull value)? skull,
  TResult Function(_SkullOutline value)? skullOutline,
  TResult Function(_Angry value)? angry,
  TResult Function(_AngryNatural value)? angryNatural,
  TResult Function(_Default0 value)? default0,
  TResult Function(_DefaultNatural value)? defaultNatural,
  TResult Function(_FlatNatural value)? flatNatural,
  TResult Function(_FrownNatural value)? frownNatural,
  TResult Function(_RaisedExcited value)? raisedExcited,
  TResult Function(_RaisedExcitedNatural value)? raisedExcitedNatural,
  TResult Function(_SadConcerned value)? sadConcerned,
  TResult Function(_SadConcernedNatural value)? sadConcernedNatural,
  TResult Function(_UnibrowNatural value)? unibrowNatural,
  TResult Function(_UpDown value)? upDown,
  TResult Function(_UpDownNatural value)? upDownNatural,
  TResult Function(_BeardMedium value)? beardMedium,
  TResult Function(_BeardLight value)? beardLight,
  TResult Function(_BeardMajestic value)? beardMajestic,
  TResult Function(_MoustacheFancy value)? moustacheFancy,
  TResult Function(_MoustacheMagnum value)? moustacheMagnum,
  TResult Function(_Concerned value)? concerned,
  TResult Function(_Disbelief value)? disbelief,
  TResult Function(_Eating value)? eating,
  TResult Function(_Grimace value)? grimace,
  TResult Function(_Sad value)? sad,
  TResult Function(_ScreamOpen value)? screamOpen,
  TResult Function(_Serious value)? serious,
  TResult Function(_Smile value)? smile,
  TResult Function(_Tongue value)? tongue,
  TResult Function(_Twinkle value)? twinkle,
  TResult Function(_Vomit value)? vomit,
  TResult Function(_Tanned value)? tanned,
  TResult Function(_Yellow value)? yellow,
  TResult Function(_Pale value)? pale,
  TResult Function(_Light value)? light,
  TResult Function(_Brown value)? brown,
  TResult Function(_DarkBrown value)? darkBrown,
  TResult Function(_Black value)? black,
  TResult Function(_Custom value)? custom,
  TResult Function(_Circle value)? circle,
  TResult Function(_Transparent value)? transparent,
  TResult Function(_Hair value)? hair,
  TResult Function(_Accessory value)? accessory,
  TResult Function(_FacialHair value)? facialHair,
  TResult Function(_Clothes value)? clothes,
  TResult Function(_Graphics value)? graphics,
  TResult Function(_Eyes value)? eyes,
  TResult Function(_Eyebrow value)? eyebrow,
  TResult Function(_Mouth value)? mouth,
  TResult Function(_Skin value)? skin,
  TResult Function(_Nose value)? nose,
  TResult Function(_Style value)? style,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;