distanceAttributeName property

String distanceAttributeName

Distance attribute name.

Specifies the distance-based cost attribute for reporting directions, total length.

Implementation

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

Implementation

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