startTimeUsage property

StartTimeUsage startTimeUsage

Start time usage.

Default value StartTimeUsage.departureTime will be returned on error.

Implementation

StartTimeUsage get startTimeUsage {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ClosestFacilityParameters_getStartTimeUsage(
        _handle, errorHandler);
  });
  return StartTimeUsage._fromCoreValue(coreValue);
}
void startTimeUsage=(StartTimeUsage value)

Implementation

set startTimeUsage(StartTimeUsage value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ClosestFacilityParameters_setStartTimeUsage(
        _handle, value.coreValue, errorHandler);
  });
}