name property

String name

Travel mode's name.

The unique name of the travel mode.

Implementation

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

Implementation

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