countries library

The v4 countries family: its endpoints, bound class, path templates and views.

Import it with a prefix, import 'package:exsited/countries.dart' as countries;, because families declare the same top-level names and a Dart export can neither rename nor prefix them.

Classes

CountriesResource
The countries endpoints with client already applied.
CountriesUrls
SettingsCountry
The settings country body, under country.
SettingsCountryList
One page of SettingsCountry records, under data.

Functions

getSettingsCountries(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsCountryList>>
GET /api/{api_version}/settings/countries
getSettingsCountry(ExsitedClient client, Object countryId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsCountry>>
GET /api/{api_version}/settings/countries/{country_id}
updateSettingsCountry(ExsitedClient client, Object countryId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsCountry>>
PATCH /api/{api_version}/settings/countries/{country_id}