toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> jsonMap = {
    "value": value,
    "barcodeType": CustomSectionBarcodeTypeDtoEnumMap[barcodeType],
    "type": CustomSectionDataTypeDtoEnumMap[type],
    "sequenceNumber": sequenceNumber,
    "customSectionId": customSectionId,
  };
  return jsonMap;
}