Map<String, dynamic> toMap() => { "equipments": equipments == null ? [] : List<dynamic>.from(equipments!.map((x) => x.toMap())), };