OnDatabaseConfigureFn typedef

OnDatabaseConfigureFn = FutureOr<void> Function(Database db)

Prototype of the function called before calling OpenDatabaseOptions.onCreate/OpenDatabaseOptions.onUpgrade/OpenDatabaseOptions.onOpen when the database is open.

Post initialization should happen here.

Implementation

typedef OnDatabaseConfigureFn = FutureOr<void> Function(Database db);