KeyValueCustomSectionDataDto.fromJson constructor

KeyValueCustomSectionDataDto.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory KeyValueCustomSectionDataDto.fromJson(Map<String, dynamic> json) {
  return KeyValueCustomSectionDataDto(
    key: json["key"] as String?,
    value: json["value"] as String?,
    type: decodeCustomSectionDataTypeDto(
        CustomSectionDataTypeDtoEnumMap, json["type"] as String),
    sequenceNumber: json["sequenceNumber"] as int,
    customSectionId: json["customSectionId"] as String?,
  );
}