database property
Future<Database>
get
database
Implementation
Future<Database> get database async {
if (_database != null) {
return _database as Database;
}
return await _initDatabaseMemoizer.runOnce(() async {
return await initializeDatabase();
});
}