getAll<T> method
Implementation
List<T> getAll<T>(Type type) {
List<T> results = <T>[];
transactions.values.forEach((TransactionBase transaction) {
if (transaction.runtimeType == type) {
results.add(transaction as T);
}
});
return results;
}