getAddedCost method

double getAddedCost({
  1. required String attributeName,
})

Gets added cost.

Get the amount of additional cost that has been added for a particular attribute on this Stop. If no cost has been added, or an incorrect name is specified, a value of zero will be returned.

Parameters:

  • attributeName — The name of attribute.

Return Value: A value of added cost.