getCumulativeCost method
- required String attributeName,
Gets cumulative cost attribute value.
In case when attribute's name can not be found 0.0 will be returned.
Parameters:
attributeName
— The name of cumulative attribute.
Return Value: The value of cumulative cost.
Implementation
double getCumulativeCost({
required String attributeName,
}) {
final coreAttributeName = _CString(attributeName);
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_Stop_getCumulativeCost(
_handle,
coreAttributeName.bytes,
errorHandler,
);
});
}