factory Rect.fromMap(Map<String, dynamic> json) { return Rect( bottom: json['bottom'], left: json['left'], right: json['right'], top: json['top'], ); }