toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
  "id": id,
  "countries": countries == null ? [] : List<dynamic>.from(countries!.map((x) => x.toMap())),
  "name": name,
  "info": info,
  "active": active,
  "allows_pod": allowsPod,
  "logo_key": logoKey,
  "base_url": baseUrl,
};