setAddedCost method
Sets added cost.
Parameters:
attributeName
— The attribute name.addedCost
— The added cost.
Implementation
void setAddedCost({
required String attributeName,
required double addedCost,
}) {
final coreAttributeName = _CString(attributeName);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_Stop_setAddedCost(
_handle,
coreAttributeName.bytes,
addedCost,
errorHandler,
);
});
}