mapOrNull<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
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
throw _privateConstructorUsedError;