db property

Database get db

Implementation

Database get db {
  if (_db == null) {
    throw StateError('Database connection is not open. Call open() first.');
  }
  return _db!;
}