class PopularVideo { String? name; String? key; String? site; int? size; String? type; bool? official; String? id; PopularVideo({ this.name, this.key, this.site, this.size, this.type, this.official, this.id, }); factory PopularVideo.fromMap(Map map) { print(map.toString()); return PopularVideo( id: map['id'], key: map['key'], name: map['name'], site: map['site'], size: map['size'], type: map['type'], official: map['official'], ); } }