findLevel1ByName function Null safety

Level1? findLevel1ByName(
  1. String name
)

Finds level 1 entity by name.

Implementation

Level1? findLevel1ByName(String name) => findByName(level1s, name);