addCost method

void addCost(
  1. double cost
)

Implementation

void addCost(double cost) => totalCostUsd += cost;