Map<String, dynamic> toJson() => { "country": country == null ? null : List<dynamic>.from(country.map((x) => x)), };