removeAll method

List<TransactionBase> removeAll()

Implementation

List<TransactionBase> removeAll() {
  List<TransactionBase> list = <TransactionBase>[];
  list.addAll(transactions.values);
  transactions.clear();
  return list;
}