parseStComponentIr function
Implementation
STComponentIr parseStComponentIr(Object? raw, String path) {
final map = _map(raw, path);
return STComponentIr(
fill:
map['fill'] == null ? null : parseStColorIr(map['fill'], '$path.fill'),
foreground:
map['foreground'] == null
? null
: parseStColorIr(map['foreground'], '$path.foreground'),
border:
map['border'] == null
? null
: parseStColorIr(map['border'], '$path.border'),
elevation: _double(map['elevation'], '$path.elevation'),
radius: _double(map['radius'], '$path.radius'),
filled: map['filled'] as bool?,
);
}