getContinents method

Future<Response> getContinents()

List Continents

List of all continents. You can use the locale header to get the data in a supported language.

Implementation

Future<req.Response> getContinents() {
  final String path = '/locale/continents';

  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);
}