addTransaction method

void addTransaction(
  1. TransactionBase transaction
)

Implementation

void addTransaction(TransactionBase transaction) {
  String key = _buildKey(transaction.runtimeType, transaction.id!);
  transactions[key] = transaction;
}