toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allInclusiveAvailable != null)
        'allInclusiveAvailable': allInclusiveAvailable!,
      if (allInclusiveAvailableException != null)
        'allInclusiveAvailableException': allInclusiveAvailableException!,
      if (allInclusiveOnly != null) 'allInclusiveOnly': allInclusiveOnly!,
      if (allInclusiveOnlyException != null)
        'allInclusiveOnlyException': allInclusiveOnlyException!,
      if (checkinTime != null) 'checkinTime': checkinTime!,
      if (checkinTimeException != null)
        'checkinTimeException': checkinTimeException!,
      if (checkoutTime != null) 'checkoutTime': checkoutTime!,
      if (checkoutTimeException != null)
        'checkoutTimeException': checkoutTimeException!,
      if (kidsStayFree != null) 'kidsStayFree': kidsStayFree!,
      if (kidsStayFreeException != null)
        'kidsStayFreeException': kidsStayFreeException!,
      if (maxChildAge != null) 'maxChildAge': maxChildAge!,
      if (maxChildAgeException != null)
        'maxChildAgeException': maxChildAgeException!,
      if (maxKidsStayFreeCount != null)
        'maxKidsStayFreeCount': maxKidsStayFreeCount!,
      if (maxKidsStayFreeCountException != null)
        'maxKidsStayFreeCountException': maxKidsStayFreeCountException!,
      if (paymentOptions != null) 'paymentOptions': paymentOptions!,
      if (smokeFreeProperty != null) 'smokeFreeProperty': smokeFreeProperty!,
      if (smokeFreePropertyException != null)
        'smokeFreePropertyException': smokeFreePropertyException!,
    };