data library
Classes
- AccountData
- A data model for an account.
- AlertData
- A data model for an alert.
- BillData
- A data model for a bill.
- BudgetData
- A data model for a budget.
- DetailedEventData
- DummyDataService
- Class to return dummy data lists.
- UserDetailData
- A data model for data displayed to the user.
Functions
-
sumAccountDataPrimaryAmount(
List< AccountData> items) → double - Calculates the sum of the primary amounts of a list of AccountData.
-
sumBillDataPaidAmount(
List< BillData> items) → double - Calculates the sum of the primary amounts of a list of BillData.
-
sumBillDataPrimaryAmount(
List< BillData> items) → double - Calculates the sum of the primary amounts of a list of BillData.
-
sumBudgetDataAmountUsed(
List< BudgetData> items) → double - Calculates the sum of the amounts used of a list of BudgetData.
-
sumBudgetDataPrimaryAmount(
List< BudgetData> items) → double - Calculates the sum of the primary amounts of a list of BudgetData.
-
sumOf<
T> (List< T> list, double? getValue(T elt)) → double - Utility function to sum up values in a list.