getCountriesEU method

Future<Response> getCountriesEU()

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<req.Response> getCountriesEU() {
  final String path = '/locale/countries/eu';

  final Map<String, dynamic> params = {};

  final Map<String, String> headers = {
    'content-type': 'application/json',
  };

  return client.call(HttpMethod.get,
      path: path, params: params, headers: headers);
}