traps property Null safety

List<STWSchematic> traps

get stw trap of the profile

Implementation

List<STWSchematic> get traps =>
    schematics.where((schematic) => schematic.type == "trap").toList();