Map<String, dynamic> toMap() => { "countries": countries == null ? [] : List<dynamic>.from(countries!.map((x) => x.toMap())), };