directionsDistanceUnits property

UnitSystem directionsDistanceUnits

Directions distance text units.

Default value UnitSystem.metric will be returned on error.

Implementation

UnitSystem get directionsDistanceUnits {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ClosestFacilityTaskInfo_getDirectionsDistanceUnits(
      _handle,
      errorHandler,
    );
  });
  return UnitSystem._fromCoreValue(
    coreValue,
  );
}