factory Country.fromMap(Map<String, dynamic> map) { return Country( name: map['name'].toString(), code: map['code'].toString(), ); }