executeBatch method

  1. @override
Future<void> executeBatch(
  1. List<BatchOperation> operations
)
override

Implementation

@override
Future<void> executeBatch(List<BatchOperation> operations) async {
  try {
    await _database.batch((batch) {
      for (final operation in operations) {
        operation(batch);
      }
    });
  } catch (e) {
    throw DatabaseBridgeException(error: e);
  }
}