transaction<T> abstract method Null safety

Future<T?> transaction<T>(
  1. ManagedContext transactionContext,
  2. Future<T?> transactionBlock(
    1. ManagedContext transaction
    )
)

Implementation

Future<T?> transaction<T>(
  ManagedContext transactionContext,
  Future<T?> Function(ManagedContext transaction) transactionBlock,
);