firstOperationWithEntity<T extends TransactionOperationWithEntity> method

T? firstOperationWithEntity<T extends TransactionOperationWithEntity>(
  1. Object entity
)

Implementation

T? firstOperationWithEntity<T extends TransactionOperationWithEntity>(
        Object entity) =>
    _operations
        .whereType<T>()
        .firstWhereOrNull((op) => identical(op.entity, entity));