maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult tanned(
- AvataaarTypeSkinTanned value
- TResult yellow(
- AvataaarTypeSkinYellow value
- TResult pale(
- AvataaarTypeSkinPale value
- TResult light(
- AvataaarTypeSkinWhite value
- TResult brown(
- AvataaarTypeSkinBrown value
- TResult darkBrown()?,
- TResult black(
- AvataaarTypeSkinBlack value
- TResult custom(
- AvataaarTypeSkinCustom value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(AvataaarTypeSkinTanned value)? tanned,
TResult Function(AvataaarTypeSkinYellow value)? yellow,
TResult Function(AvataaarTypeSkinPale value)? pale,
TResult Function(AvataaarTypeSkinWhite value)? light,
TResult Function(AvataaarTypeSkinBrown value)? brown,
TResult Function(AvataaarTypeSkinDarkBrown value)? darkBrown,
TResult Function(AvataaarTypeSkinBlack value)? black,
TResult Function(AvataaarTypeSkinCustom value)? custom,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;