impedanceAttributeName property

String impedanceAttributeName

Impedance attribute name.

The impedance attribute (i.e. the cost attribute to be minimized on solve). For example: "TravelTime" or "Distance".

Implementation

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

Implementation

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