BoxStyle.fromJson constructor
Implementation
factory BoxStyle.fromJson(Map<String, dynamic> json) {
return BoxStyle(
fillColor: json.containsKey('fillColor')
? dom.RGBA.fromJson(json['fillColor'] as Map<String, dynamic>)
: null,
hatchColor: json.containsKey('hatchColor')
? dom.RGBA.fromJson(json['hatchColor'] as Map<String, dynamic>)
: null,
);
}