Rect.fromJson constructor

Rect.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Rect.fromJson(Map<String, dynamic> json) {
  height = json['height'];
  left = json['left'];
  top = json['top'];
  width = json['width'];
}