mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult blank(
    1. AvataaarTypeFacialHairBlank value
    )?,
  2. TResult beardMedium(
    1. AvataaarTypeFacialHairBeardMedium value
    )?,
  3. TResult beardLight(
    1. AvataaarTypeFacialHairBeardLight value
    )?,
  4. TResult beardMajestic(
    1. AvataaarTypeFacialHairBeardMajestic value
    )?,
  5. TResult moustacheFancy(
    1. AvataaarTypeFacialHairMoustacheFancy value
    )?,
  6. TResult moustacheMagnum(
    1. AvataaarTypeFacialHairMoustacheMagnum value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult Function(AvataaarTypeFacialHairBlank value)? blank,
  TResult Function(AvataaarTypeFacialHairBeardMedium value)? beardMedium,
  TResult Function(AvataaarTypeFacialHairBeardLight value)? beardLight,
  TResult Function(AvataaarTypeFacialHairBeardMajestic value)? beardMajestic,
  TResult Function(AvataaarTypeFacialHairMoustacheFancy value)?
      moustacheFancy,
  TResult Function(AvataaarTypeFacialHairMoustacheMagnum value)?
      moustacheMagnum,
}) =>
    throw _privateConstructorUsedError;