name property

String name

The name of the unit.

The name for a specific unit.

Implementation

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