transaction property

IDBTransaction? get transaction

Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.

MDN Reference

Implementation

_i3.IDBTransaction? get transaction => _i4.getProperty(
      this,
      'transaction',
    );