asMap static method
Return all colors in KolorYellows as a Map<String, Color>.
Can be useful when working with UIs where the user can see all colors and select from a list.
Implementation
static Map<String, Color> asMap() => {
'gold': gold,
'yellow': yellow,
'lightYellow': lightYellow,
'lemonChiffon': lemonChiffon,
'lightGoldenrodYellow': lightGoldenrodYellow,
'papayaWhip': papayaWhip,
'moccasin': moccasin,
'peachPuff': peachPuff,
'paleGoldenrod': paleGoldenrod,
'khaki': khaki,
'darkKhaki': darkKhaki,
};