getConnection static method
Implementation
static Future<sqlite.Database> getConnection() async {
if (_dbFuture == null) {
throw Exception("Database not connected. Call connect() first");
}
_lastUsedAt = DateTime.now();
return _dbFuture!;
}