TravelMode constructor

TravelMode()

Creates a travel mode.

Creates a travel mode object.

Implementation

factory TravelMode() {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TravelMode_create(
      errorHandler,
    );
  });
  return TravelMode._withHandle(handle);
}