Rect.fromJson constructor
Rect.fromJson(
- dynamic json
Implementation
factory Rect.fromJson(dynamic json) {
return Rect(
getDouble(json['x1']),
getDouble(json['y1']),
getDouble(json['x2']),
getDouble(json['y2']),
getDouble(json['width']),
getDouble(json['height']));
}