mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult blank()?,
- TResult beardMedium()?,
- TResult beardLight()?,
- TResult beardMajestic()?,
- TResult moustacheFancy()?,
- TResult moustacheMagnum()?,
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;