constructorHeroes property Null safety

List<STWHero> constructorHeroes

constructor type heroes of the profile

Implementation

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