MigrationLoader typedef

MigrationLoader = Future<List<Migration>> Function()

Type signature for a migration loader. Returns the list of migrations that this build of the app knows how to apply. Exposed for tests so they can inject a hand-rolled list without touching the Flutter asset bundle.

Implementation

typedef MigrationLoader = Future<List<Migration>> Function();