sumBudgetDataAmountUsed function
Calculates the sum of the amounts used of a list of BudgetData.
Implementation
double sumBudgetDataAmountUsed(List<BudgetData> items) =>
sumOf<BudgetData>(items, (item) => item.amountUsed);
Calculates the sum of the amounts used of a list of BudgetData.
double sumBudgetDataAmountUsed(List<BudgetData> items) =>
sumOf<BudgetData>(items, (item) => item.amountUsed);