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