EventBusDatabaseHelper<T extends DatabaseExecutor> constructor

EventBusDatabaseHelper<T extends DatabaseExecutor>(
  1. Future<T> initDatabaseFunc()?
)

Implementation

factory EventBusDatabaseHelper(Future<T> Function()? initDatabaseFunc) {
  return EventBusDatabaseHelper<T>._(
      initDatabaseFunc: initDatabaseFunc ?? initDatabase);
}