put method
Put a new value for the given key
Implementation
@override
FlyColorToken put(String key, Color value) {
switch (key) {
case 'red50':
return copyWith(red50: value);
case 'red100':
return copyWith(red100: value);
case 'red200':
return copyWith(red200: value);
case 'red300':
return copyWith(red300: value);
case 'red400':
return copyWith(red400: value);
case 'red500':
return copyWith(red500: value);
case 'red600':
return copyWith(red600: value);
case 'red700':
return copyWith(red700: value);
case 'red800':
return copyWith(red800: value);
case 'red900':
return copyWith(red900: value);
case 'red950':
return copyWith(red950: value);
case 'orange50':
return copyWith(orange50: value);
case 'orange100':
return copyWith(orange100: value);
case 'orange200':
return copyWith(orange200: value);
case 'orange300':
return copyWith(orange300: value);
case 'orange400':
return copyWith(orange400: value);
case 'orange500':
return copyWith(orange500: value);
case 'orange600':
return copyWith(orange600: value);
case 'orange700':
return copyWith(orange700: value);
case 'orange800':
return copyWith(orange800: value);
case 'orange900':
return copyWith(orange900: value);
case 'orange950':
return copyWith(orange950: value);
case 'amber50':
return copyWith(amber50: value);
case 'amber100':
return copyWith(amber100: value);
case 'amber200':
return copyWith(amber200: value);
case 'amber300':
return copyWith(amber300: value);
case 'amber400':
return copyWith(amber400: value);
case 'amber500':
return copyWith(amber500: value);
case 'amber600':
return copyWith(amber600: value);
case 'amber700':
return copyWith(amber700: value);
case 'amber800':
return copyWith(amber800: value);
case 'amber900':
return copyWith(amber900: value);
case 'amber950':
return copyWith(amber950: value);
case 'yellow50':
return copyWith(yellow50: value);
case 'yellow100':
return copyWith(yellow100: value);
case 'yellow200':
return copyWith(yellow200: value);
case 'yellow300':
return copyWith(yellow300: value);
case 'yellow400':
return copyWith(yellow400: value);
case 'yellow500':
return copyWith(yellow500: value);
case 'yellow600':
return copyWith(yellow600: value);
case 'yellow700':
return copyWith(yellow700: value);
case 'yellow800':
return copyWith(yellow800: value);
case 'yellow900':
return copyWith(yellow900: value);
case 'yellow950':
return copyWith(yellow950: value);
case 'lime50':
return copyWith(lime50: value);
case 'lime100':
return copyWith(lime100: value);
case 'lime200':
return copyWith(lime200: value);
case 'lime300':
return copyWith(lime300: value);
case 'lime400':
return copyWith(lime400: value);
case 'lime500':
return copyWith(lime500: value);
case 'lime600':
return copyWith(lime600: value);
case 'lime700':
return copyWith(lime700: value);
case 'lime800':
return copyWith(lime800: value);
case 'lime900':
return copyWith(lime900: value);
case 'lime950':
return copyWith(lime950: value);
case 'green50':
return copyWith(green50: value);
case 'green100':
return copyWith(green100: value);
case 'green200':
return copyWith(green200: value);
case 'green300':
return copyWith(green300: value);
case 'green400':
return copyWith(green400: value);
case 'green500':
return copyWith(green500: value);
case 'green600':
return copyWith(green600: value);
case 'green700':
return copyWith(green700: value);
case 'green800':
return copyWith(green800: value);
case 'green900':
return copyWith(green900: value);
case 'green950':
return copyWith(green950: value);
case 'emerald50':
return copyWith(emerald50: value);
case 'emerald100':
return copyWith(emerald100: value);
case 'emerald200':
return copyWith(emerald200: value);
case 'emerald300':
return copyWith(emerald300: value);
case 'emerald400':
return copyWith(emerald400: value);
case 'emerald500':
return copyWith(emerald500: value);
case 'emerald600':
return copyWith(emerald600: value);
case 'emerald700':
return copyWith(emerald700: value);
case 'emerald800':
return copyWith(emerald800: value);
case 'emerald900':
return copyWith(emerald900: value);
case 'emerald950':
return copyWith(emerald950: value);
case 'teal50':
return copyWith(teal50: value);
case 'teal100':
return copyWith(teal100: value);
case 'teal200':
return copyWith(teal200: value);
case 'teal300':
return copyWith(teal300: value);
case 'teal400':
return copyWith(teal400: value);
case 'teal500':
return copyWith(teal500: value);
case 'teal600':
return copyWith(teal600: value);
case 'teal700':
return copyWith(teal700: value);
case 'teal800':
return copyWith(teal800: value);
case 'teal900':
return copyWith(teal900: value);
case 'teal950':
return copyWith(teal950: value);
case 'cyan50':
return copyWith(cyan50: value);
case 'cyan100':
return copyWith(cyan100: value);
case 'cyan200':
return copyWith(cyan200: value);
case 'cyan300':
return copyWith(cyan300: value);
case 'cyan400':
return copyWith(cyan400: value);
case 'cyan500':
return copyWith(cyan500: value);
case 'cyan600':
return copyWith(cyan600: value);
case 'cyan700':
return copyWith(cyan700: value);
case 'cyan800':
return copyWith(cyan800: value);
case 'cyan900':
return copyWith(cyan900: value);
case 'cyan950':
return copyWith(cyan950: value);
case 'sky50':
return copyWith(sky50: value);
case 'sky100':
return copyWith(sky100: value);
case 'sky200':
return copyWith(sky200: value);
case 'sky300':
return copyWith(sky300: value);
case 'sky400':
return copyWith(sky400: value);
case 'sky500':
return copyWith(sky500: value);
case 'sky600':
return copyWith(sky600: value);
case 'sky700':
return copyWith(sky700: value);
case 'sky800':
return copyWith(sky800: value);
case 'sky900':
return copyWith(sky900: value);
case 'sky950':
return copyWith(sky950: value);
case 'blue50':
return copyWith(blue50: value);
case 'blue100':
return copyWith(blue100: value);
case 'blue200':
return copyWith(blue200: value);
case 'blue300':
return copyWith(blue300: value);
case 'blue400':
return copyWith(blue400: value);
case 'blue500':
return copyWith(blue500: value);
case 'blue600':
return copyWith(blue600: value);
case 'blue700':
return copyWith(blue700: value);
case 'blue800':
return copyWith(blue800: value);
case 'blue900':
return copyWith(blue900: value);
case 'blue950':
return copyWith(blue950: value);
case 'indigo50':
return copyWith(indigo50: value);
case 'indigo100':
return copyWith(indigo100: value);
case 'indigo200':
return copyWith(indigo200: value);
case 'indigo300':
return copyWith(indigo300: value);
case 'indigo400':
return copyWith(indigo400: value);
case 'indigo500':
return copyWith(indigo500: value);
case 'indigo600':
return copyWith(indigo600: value);
case 'indigo700':
return copyWith(indigo700: value);
case 'indigo800':
return copyWith(indigo800: value);
case 'indigo900':
return copyWith(indigo900: value);
case 'indigo950':
return copyWith(indigo950: value);
case 'violet50':
return copyWith(violet50: value);
case 'violet100':
return copyWith(violet100: value);
case 'violet200':
return copyWith(violet200: value);
case 'violet300':
return copyWith(violet300: value);
case 'violet400':
return copyWith(violet400: value);
case 'violet500':
return copyWith(violet500: value);
case 'violet600':
return copyWith(violet600: value);
case 'violet700':
return copyWith(violet700: value);
case 'violet800':
return copyWith(violet800: value);
case 'violet900':
return copyWith(violet900: value);
case 'violet950':
return copyWith(violet950: value);
case 'purple50':
return copyWith(purple50: value);
case 'purple100':
return copyWith(purple100: value);
case 'purple200':
return copyWith(purple200: value);
case 'purple300':
return copyWith(purple300: value);
case 'purple400':
return copyWith(purple400: value);
case 'purple500':
return copyWith(purple500: value);
case 'purple600':
return copyWith(purple600: value);
case 'purple700':
return copyWith(purple700: value);
case 'purple800':
return copyWith(purple800: value);
case 'purple900':
return copyWith(purple900: value);
case 'purple950':
return copyWith(purple950: value);
case 'fuchsia50':
return copyWith(fuchsia50: value);
case 'fuchsia100':
return copyWith(fuchsia100: value);
case 'fuchsia200':
return copyWith(fuchsia200: value);
case 'fuchsia300':
return copyWith(fuchsia300: value);
case 'fuchsia400':
return copyWith(fuchsia400: value);
case 'fuchsia500':
return copyWith(fuchsia500: value);
case 'fuchsia600':
return copyWith(fuchsia600: value);
case 'fuchsia700':
return copyWith(fuchsia700: value);
case 'fuchsia800':
return copyWith(fuchsia800: value);
case 'fuchsia900':
return copyWith(fuchsia900: value);
case 'fuchsia950':
return copyWith(fuchsia950: value);
case 'pink50':
return copyWith(pink50: value);
case 'pink100':
return copyWith(pink100: value);
case 'pink200':
return copyWith(pink200: value);
case 'pink300':
return copyWith(pink300: value);
case 'pink400':
return copyWith(pink400: value);
case 'pink500':
return copyWith(pink500: value);
case 'pink600':
return copyWith(pink600: value);
case 'pink700':
return copyWith(pink700: value);
case 'pink800':
return copyWith(pink800: value);
case 'pink900':
return copyWith(pink900: value);
case 'pink950':
return copyWith(pink950: value);
case 'rose50':
return copyWith(rose50: value);
case 'rose100':
return copyWith(rose100: value);
case 'rose200':
return copyWith(rose200: value);
case 'rose300':
return copyWith(rose300: value);
case 'rose400':
return copyWith(rose400: value);
case 'rose500':
return copyWith(rose500: value);
case 'rose600':
return copyWith(rose600: value);
case 'rose700':
return copyWith(rose700: value);
case 'rose800':
return copyWith(rose800: value);
case 'rose900':
return copyWith(rose900: value);
case 'rose950':
return copyWith(rose950: value);
case 'slate50':
return copyWith(slate50: value);
case 'slate100':
return copyWith(slate100: value);
case 'slate200':
return copyWith(slate200: value);
case 'slate300':
return copyWith(slate300: value);
case 'slate400':
return copyWith(slate400: value);
case 'slate500':
return copyWith(slate500: value);
case 'slate600':
return copyWith(slate600: value);
case 'slate700':
return copyWith(slate700: value);
case 'slate800':
return copyWith(slate800: value);
case 'slate900':
return copyWith(slate900: value);
case 'slate950':
return copyWith(slate950: value);
case 'gray50':
return copyWith(gray50: value);
case 'gray100':
return copyWith(gray100: value);
case 'gray200':
return copyWith(gray200: value);
case 'gray300':
return copyWith(gray300: value);
case 'gray400':
return copyWith(gray400: value);
case 'gray500':
return copyWith(gray500: value);
case 'gray600':
return copyWith(gray600: value);
case 'gray700':
return copyWith(gray700: value);
case 'gray800':
return copyWith(gray800: value);
case 'gray900':
return copyWith(gray900: value);
case 'gray950':
return copyWith(gray950: value);
case 'zinc50':
return copyWith(zinc50: value);
case 'zinc100':
return copyWith(zinc100: value);
case 'zinc200':
return copyWith(zinc200: value);
case 'zinc300':
return copyWith(zinc300: value);
case 'zinc400':
return copyWith(zinc400: value);
case 'zinc500':
return copyWith(zinc500: value);
case 'zinc600':
return copyWith(zinc600: value);
case 'zinc700':
return copyWith(zinc700: value);
case 'zinc800':
return copyWith(zinc800: value);
case 'zinc900':
return copyWith(zinc900: value);
case 'zinc950':
return copyWith(zinc950: value);
case 'neutral50':
return copyWith(neutral50: value);
case 'neutral100':
return copyWith(neutral100: value);
case 'neutral200':
return copyWith(neutral200: value);
case 'neutral300':
return copyWith(neutral300: value);
case 'neutral400':
return copyWith(neutral400: value);
case 'neutral500':
return copyWith(neutral500: value);
case 'neutral600':
return copyWith(neutral600: value);
case 'neutral700':
return copyWith(neutral700: value);
case 'neutral800':
return copyWith(neutral800: value);
case 'neutral900':
return copyWith(neutral900: value);
case 'neutral950':
return copyWith(neutral950: value);
case 'stone50':
return copyWith(stone50: value);
case 'stone100':
return copyWith(stone100: value);
case 'stone200':
return copyWith(stone200: value);
case 'stone300':
return copyWith(stone300: value);
case 'stone400':
return copyWith(stone400: value);
case 'stone500':
return copyWith(stone500: value);
case 'stone600':
return copyWith(stone600: value);
case 'stone700':
return copyWith(stone700: value);
case 'stone800':
return copyWith(stone800: value);
case 'stone900':
return copyWith(stone900: value);
case 'stone950':
return copyWith(stone950: value);
case 'black':
return copyWith(black: value);
case 'white':
return copyWith(white: value);
default:
final newExtras = Map<String, Color>.from(extras);
newExtras[key] = value;
return copyWith(extras: newExtras);
}
}