toJson method

Map<String, dynamic> toJson()
override

Implementation

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