toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (from != null) {
    json[r'from'] = from;
  }
  if (to != null) {
    json[r'to'] = to;
  }
  if (index != null) {
    json[r'index'] = index;
  }
  if (ctiExtended != null) {
    json[r'ctiExtended'] = ctiExtended;
  }
  json[r'orphan'] = orphan;
  if (leafletLink != null) {
    json[r'leafletLink'] = leafletLink;
  }
  if (spcLink != null) {
    json[r'spcLink'] = spcLink;
  }
  if (rmaPatientLink != null) {
    json[r'rmaPatientLink'] = rmaPatientLink;
  }
  if (rmaProfessionalLink != null) {
    json[r'rmaProfessionalLink'] = rmaProfessionalLink;
  }
  if (parallelCircuit != null) {
    json[r'parallelCircuit'] = parallelCircuit;
  }
  if (parallelDistributor != null) {
    json[r'parallelDistributor'] = parallelDistributor;
  }
  if (packMultiplier != null) {
    json[r'packMultiplier'] = packMultiplier;
  }
  if (packAmount != null) {
    json[r'packAmount'] = packAmount;
  }
  if (packDisplayValue != null) {
    json[r'packDisplayValue'] = packDisplayValue;
  }
  if (status != null) {
    json[r'status'] = status;
  }
  json[r'atcs'] = atcs;
  if (crmLink != null) {
    json[r'crmLink'] = crmLink;
  }
  if (deliveryModusCode != null) {
    json[r'deliveryModusCode'] = deliveryModusCode;
  }
  if (deliveryModus != null) {
    json[r'deliveryModus'] = deliveryModus;
  }
  if (deliveryModusSpecificationCode != null) {
    json[r'deliveryModusSpecificationCode'] = deliveryModusSpecificationCode;
  }
  if (deliveryModusSpecification != null) {
    json[r'deliveryModusSpecification'] = deliveryModusSpecification;
  }
  if (dhpcLink != null) {
    json[r'dhpcLink'] = dhpcLink;
  }
  if (distributorCompany != null) {
    json[r'distributorCompany'] = distributorCompany;
  }
  if (singleUse != null) {
    json[r'singleUse'] = singleUse;
  }
  if (speciallyRegulated != null) {
    json[r'speciallyRegulated'] = speciallyRegulated;
  }
  if (abbreviatedName != null) {
    json[r'abbreviatedName'] = abbreviatedName;
  }
  if (prescriptionName != null) {
    json[r'prescriptionName'] = prescriptionName;
  }
  if (note != null) {
    json[r'note'] = note;
  }
  if (posologyNote != null) {
    json[r'posologyNote'] = posologyNote;
  }
  json[r'noGenericPrescriptionReasons'] = noGenericPrescriptionReasons;
  if (exFactoryPrice != null) {
    json[r'exFactoryPrice'] = exFactoryPrice;
  }
  if (reimbursementCode != null) {
    json[r'reimbursementCode'] = reimbursementCode;
  }
  if (definedDailyDose != null) {
    json[r'definedDailyDose'] = definedDailyDose;
  }
  if (officialExFactoryPrice != null) {
    json[r'officialExFactoryPrice'] = officialExFactoryPrice;
  }
  if (realExFactoryPrice != null) {
    json[r'realExFactoryPrice'] = realExFactoryPrice;
  }
  if (pricingInformationDecisionDate != null) {
    json[r'pricingInformationDecisionDate'] = pricingInformationDecisionDate;
  }
  json[r'components'] = components;
  json[r'commercializations'] = commercializations;
  json[r'supplyProblems'] = supplyProblems;
  json[r'dmpps'] = dmpps;
  json[r'vaccineIndicationCodes'] = vaccineIndicationCodes;
  return json;
}