maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<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
    )?,
  7. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<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,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;