configureZoneNetworkV2 method

Future<bool> configureZoneNetworkV2(
  1. String baseUrl
)

Switch to the zone-network-v2 endpoint for speed-limit data lookups.

  • baseUrl Base URL of the v2 zone-network service.

Implementation

Future<bool> configureZoneNetworkV2(String baseUrl) async {
  try {
    final result = await _method.invokeMethod<bool>(
      'configureZoneNetworkV2',
      {'baseUrl': baseUrl},
    );
    return result ?? false;
  } on PlatformException {
    rethrow;
  }
}