ninjaHeroes property Null safety
ninja type heroes of the profile
Implementation
List<STWHero> get ninjaHeroes =>
heroes.where((hero) => hero.type == "ninja").toList();
ninja type heroes of the profile
List<STWHero> get ninjaHeroes =>
heroes.where((hero) => hero.type == "ninja").toList();