toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (approverUserProfileIds != null)
        'approverUserProfileIds': approverUserProfileIds!,
      if (buyerInvoiceId != null) 'buyerInvoiceId': buyerInvoiceId!,
      if (buyerOrganizationName != null)
        'buyerOrganizationName': buyerOrganizationName!,
      if (comments != null) 'comments': comments!,
      if (contacts != null) 'contacts': contacts!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (lastModifiedInfo != null) 'lastModifiedInfo': lastModifiedInfo!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (planningTermId != null) 'planningTermId': planningTermId!,
      if (projectId != null) 'projectId': projectId!,
      if (sellerOrderId != null) 'sellerOrderId': sellerOrderId!,
      if (sellerOrganizationName != null)
        'sellerOrganizationName': sellerOrganizationName!,
      if (siteId != null) 'siteId': siteId!,
      if (siteNames != null) 'siteNames': siteNames!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
      if (termsAndConditions != null)
        'termsAndConditions': termsAndConditions!,
    };