migrationByVersion property

Map<int, Migration> get migrationByVersion

Key/value migrations based on their version

Implementation

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