listCountriesEU method
List EU Countries
List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.
Implementation
Future<models.CountryList> listCountriesEU() async {
const String path = '/locale/countries/eu';
final Map<String, dynamic> params = {};
final Map<String, String> headers = {
'content-type': 'application/json',
};
final res = await client.call(HttpMethod.get,
path: path, params: params, headers: headers);
return models.CountryList.fromMap(res.data);
}