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