toMap method

Map<String, dynamic> toMap()

Implementation

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