QrCodeCustomSectionDataDto.fromJson constructor

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

Implementation

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