operator [] method

List<Migration> operator [](
  1. int v
)

Implementation

List<Migration> operator [](int v) => _migrationsByVersion[v] ?? [];