weapons property Null safety

List<STWSchematic> weapons

get stw weapons of the profile

Implementation

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