OnVersionChange typedef

OnVersionChange = Future<void> Function(Database db, int oldVersion, int newVersion)

Called by an OpenDatabase implementation when the stored schema version differs from the requested one.

Implementation

typedef OnVersionChange =
    Future<void> Function(Database db, int oldVersion, int newVersion);