type property
Travel mode's type.
Indicates the category of travel or vehicle represented by the travel mode.
Implementation
String get type {
final stringHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_TravelMode_getType(_handle, errorHandler);
});
return stringHandle.toDartString();
}
Implementation
set type(String value) {
final coreValue = _CString(value);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_TravelMode_setType(_handle, coreValue.bytes, errorHandler);
});
}