getSettingsCountry function
Future<ApiResponse<SettingsCountry> >
getSettingsCountry(
- ExsitedClient client,
- Object countryId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/settings/countries/{country_id}
Read one country by its country_ id.
Implementation
Future<ApiResponse<SettingsCountry>> getSettingsCountry(
ExsitedClient client,
Object countryId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(CountriesUrls.settingsCountry,
pathParams: {'country_id': countryId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: SettingsCountry.fromMap);