getCountries method
List Countries
List of all countries. You can use the locale header to get the data in a supported language.
Implementation
Future<req.Response> getCountries() {
final String path = '/locale/countries';
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);
}