migrationByVersion property

Map<int, Migration> get migrationByVersion

Key/value migrations based on their version

Implementation

Map<int, Migration> get migrationByVersion => {for (final m in migrations) m.version: m};