fromJson static method
Implementation
static IrShadow fromJson(Object? json) {
final m = json as Map<String, Object?>;
return IrShadow(
color: IrColor.fromJson(m['color']),
x: _d(m['x']) ?? 0,
y: _d(m['y']) ?? 0,
blur: _d(m['blur']) ?? 0,
spread: _d(m['spread']) ?? 0,
);
}