toMap method

Map<String, dynamic> toMap()

Implementation

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