map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult tanned(
    1. AvataaarTypeSkinTanned value
    ),
  2. required TResult yellow(
    1. AvataaarTypeSkinYellow value
    ),
  3. required TResult pale(
    1. AvataaarTypeSkinPale value
    ),
  4. required TResult light(
    1. AvataaarTypeSkinWhite value
    ),
  5. required TResult brown(
    1. AvataaarTypeSkinBrown value
    ),
  6. required TResult darkBrown(
    1. AvataaarTypeSkinDarkBrown value
    ),
  7. required TResult black(
    1. AvataaarTypeSkinBlack value
    ),
  8. required TResult custom(
    1. 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;