BarcodeCustomSectionDataDto.fromJson constructor

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

Implementation

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