unit property
Unit.
Cost attribute's unit.
Implementation
AttributeUnit get unit {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_CostAttribute_getUnit(
_handle,
errorHandler,
);
});
return AttributeUnit._fromCoreValue(
coreValue,
);
}