ninjaHeroes property Null safety

List<STWHero> ninjaHeroes

ninja type heroes of the profile

Implementation

List<STWHero> get ninjaHeroes =>
    heroes.where((hero) => hero.type == "ninja").toList();