toMap method

Map<String, dynamic> toMap()

Transform from Clothes to map

Implementation

Map<String, dynamic> toMap() {
  return {
    'clotheType': Converter.enumToJson(clotheType),
    'clotheColor': Converter.enumToJson(clotheColor),
    'graphicType': Converter.enumToJson(graphicType),
  };
}