Map<String, dynamic> toJson() { final map = <String, dynamic>{}; map['id'] = id; map['iso2code'] = iso2code; map['value'] = value; return map; }