ZDTicketField.fromJson constructor

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

Implementation

ZDTicketField.fromJson(Map<String, dynamic> json):
      displayLabel = json['displayLabel'],
      allowedValues = json['allowedValues'],
      name = json['name'],
      apiName = json['apiName'],
      isCustomField = json['isCustomField'],
      fieldName = json['fieldName'],
      dependancyMappingResponseMap = json['dependancyMappingResponseMap'],
      defaultValue = json['defaultValue'],
      i18NLabel = json['i18NLabel'],
      type = json['type'],
      isReadOnly = json['isReadOnly'],
      id = json['id'],
      maxLength = json['maxLength'],
      isMandatory = json['isMandatory'],
      toolTipType = json['toolTipType'],
      toolTip = json['toolTip'],
      decimalPlaces = json['decimalPlaces'],
      statusMapping = (json['statusMapping'] as List?)?.map((toElement) => ZDTicketStatusMapping.fromJson(toElement)).toList(),
      isPHI = json['isPHI'],
      isNested = json['isNested'];