TransactionHandler<T> typedef Null safety

TransactionHandler<T> = Future<T> Function(Transaction transaction)

The TransactionHandler may be executed multiple times; it should be able to handle multiple executions.

Implementation

typedef TransactionHandler<T> = Future<T> Function(Transaction transaction);