isColor static method
Implementation
static bool isColor(String color) {
return color == CURRENT_COLOR ||
color == TRANSPARENT ||
color == INHERIT ||
color.startsWith('#') ||
color.startsWith(RGB) ||
color.startsWith(HSL) ||
_namedColors.containsKey(color);
}