mode property

Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.

MDN Reference

Implementation

_i3.IDBTransactionMode get mode =>
    _i3.IDBTransactionModeOptions.values.byName(_i4.getProperty(
      this,
      'mode',
    ));