timeAttributeName property

String timeAttributeName

Time attribute name.

Specifies the time-based cost attribute for reporting directions, total time, travel time and wait or late times.

Implementation

String get timeAttributeName {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TravelMode_getTimeAttributeName(
        _handle, errorHandler);
  });
  return stringHandle.toDartString();
}
void timeAttributeName=(String value)

Implementation

set timeAttributeName(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_TravelMode_setTimeAttributeName(
        _handle, coreValue.bytes, errorHandler);
  });
}