createTransaction method

Future<Transaction> createTransaction (
  1. Transaction transaction
)

Persist a new Transaction before sending it.

Implementation

Future<Transaction> createTransaction(Transaction transaction) async {
  pendingCount++;
  await _storePendingTransaction(transaction);
  return transaction;
}