Future<Database> get database async { if (_db == null) { throw Exception("# Database is not initialized. Call SqfLiteService.init() first."); } return _db!; }