migrationsUntil method
Migrations before and including a version
versionNumber
defaults to version
Implementation
Map<int, Migration> migrationsUntil([int? versionNumber]) {
return migrationByVersion
..removeWhere((version, _) {
return version > (versionNumber ?? version);
});
}