sumBudgetDataPrimaryAmount function
Calculates the sum of the primary amounts of a list of BudgetData.
Implementation
double sumBudgetDataPrimaryAmount(List<BudgetData> items) =>
sumOf<BudgetData>(items, (item) => item.primaryAmount);
Calculates the sum of the primary amounts of a list of BudgetData.
double sumBudgetDataPrimaryAmount(List<BudgetData> items) =>
sumOf<BudgetData>(items, (item) => item.primaryAmount);