setGeolocatorConfig method

Future<void> setGeolocatorConfig(
  1. GeolocatorConfig geolocatorConfig, {
  2. String? uuidToken,
})

Edit the Geolocator configuration

Edits the Geolocator configuration.

Parameters:

Implementation

Future<void> setGeolocatorConfig(
  GeolocatorConfig geolocatorConfig, {
  String? uuidToken,
}) async {
  final response = await setGeolocatorConfigWithHttpInfo(
    geolocatorConfig,
    uuidToken: uuidToken,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}