mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult blazerShirt(
    1. AvataaarTypeClothesBlazerShirt value
    )?,
  2. TResult blazerSweater(
    1. AvataaarTypeClothesBlazerSweater value
    )?,
  3. TResult collarSweater(
    1. AvataaarTypeClothesColarSweater value
    )?,
  4. TResult graphicShirt(
    1. AvataaarTypeClothesGraphicShirt value
    )?,
  5. TResult hoodie(
    1. AvataaarTypeClothesHoodie value
    )?,
  6. TResult overall(
    1. AvataaarTypeClothesOverall value
    )?,
  7. TResult shirtCrewNeck(
    1. AvataaarTypeClothesShirtCrewNeck value
    )?,
  8. TResult shirtScoopNeck(
    1. AvataaarTypeClothesShirtScoopNeck value
    )?,
  9. TResult shirtVNeck(
    1. AvataaarTypeClothesShirtVNeck value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult Function(AvataaarTypeClothesBlazerShirt value)? blazerShirt,
  TResult Function(AvataaarTypeClothesBlazerSweater value)? blazerSweater,
  TResult Function(AvataaarTypeClothesColarSweater value)? collarSweater,
  TResult Function(AvataaarTypeClothesGraphicShirt value)? graphicShirt,
  TResult Function(AvataaarTypeClothesHoodie value)? hoodie,
  TResult Function(AvataaarTypeClothesOverall value)? overall,
  TResult Function(AvataaarTypeClothesShirtCrewNeck value)? shirtCrewNeck,
  TResult Function(AvataaarTypeClothesShirtScoopNeck value)? shirtScoopNeck,
  TResult Function(AvataaarTypeClothesShirtVNeck value)? shirtVNeck,
}) =>
    throw _privateConstructorUsedError;