setAddedCost method

void setAddedCost({
  1. required String attributeName,
  2. required double addedCost,
})

Sets added cost.

Sets added cost value for given impedance or accumulate attribute.

Parameters:

  • attributeName — The name of attribute.
  • addedCost — The added cost.