getColor method
Implementation
Color getColor(String name, {Color? defaults}) {
final result = getColorOrNull(name, defaults: defaults);
if (result == null) {
throw ParsingException(name, null, 'Missing required color field');
}
return result;
}