setVersion method

Future<void> setVersion(
  1. int version
)

Set the database inner version Used internally for open helpers and automatic versioning

Implementation

Future<void> setVersion(int version) {
  _db.checkNotClosed();
  return _db.txnSetVersion(_txn, version);
}