EventBusDatabaseHelper<T extends DatabaseExecutor> constructor
EventBusDatabaseHelper<T extends DatabaseExecutor> (
- Future<
T> initDatabaseFunc()?
Implementation
factory EventBusDatabaseHelper(Future<T> Function()? initDatabaseFunc) {
return EventBusDatabaseHelper<T>._(
initDatabaseFunc: initDatabaseFunc ?? initDatabase);
}