database property

Future<Database> get database

Implementation

Future<Database> get database async {
  if (_db != null) return _db!;
  _db = await _initDB();
  return _db!;
}