getCountries method

Future<List> getCountries({
  1. int limit = 10,
  2. int offset = 0,
})

List countries covered by ReliefWeb.

Implementation

Future<List<dynamic>> getCountries({
  /// The maximum number of items to return
  ///
  /// The default is 10 and the maximum 1000.
  int limit = 10,

  /// The offset from which to return the items
  ///
  /// Allows paging through all results. The default is 0.
  int offset = 0,
}) async {
  return await getCountriesV1(
    connection: _connection,
    limit: limit,
    offset: offset,
  );
}