directionsStyle property

DirectionsStyle directionsStyle

Directions style.

The directions setting to generate directions designed for different kind of applications. Default value DirectionsStyle.desktop will be returned on error.

Implementation

DirectionsStyle get directionsStyle {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ClosestFacilityParameters_getDirectionsStyle(
      _handle,
      errorHandler,
    );
  });
  return DirectionsStyle._fromCoreValue(
    coreValue,
  );
}
void directionsStyle=(DirectionsStyle value)

Implementation

set directionsStyle(DirectionsStyle value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ClosestFacilityParameters_setDirectionsStyle(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}