runTransaction method

Future<Map<String, dynamic>> runTransaction(
  1. TransactionHandler transactionHandler, {
  2. Duration timeout = const Duration(seconds: 10),
})

Implementation

Future<Map<String, dynamic>> runTransaction(
        TransactionHandler transactionHandler,
        {Duration timeout = const Duration(seconds: 10)}) =>
    _collection.runTransaction(transactionHandler, timeout: timeout);