toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (countryCode != null) 'countryCode': countryCode!,
      if (date != null) 'date': date!,
      if (deliveryGuaranteeDate != null)
        'deliveryGuaranteeDate': deliveryGuaranteeDate!,
      if (deliveryGuaranteeHour != null)
        'deliveryGuaranteeHour': deliveryGuaranteeHour!,
      if (id != null) 'id': id!,
      if (type != null) 'type': type!,
    };