static Size fromMap(Map<String, Object> map) { return Size(double.parse(map['width'].toString()), double.parse(map['height'].toString())); }