Map<String, dynamic> toJson() => { "code": code, "name": name, "countries": List<dynamic>.from(countries!.map((x) => x.toJson())), "_links": links!.toJson(), };