toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (billedBuyer != null) 'billedBuyer': billedBuyer!,
      if (buyer != null) 'buyer': buyer!,
      if (buyerContacts != null) 'buyerContacts': buyerContacts!,
      if (buyerPrivateData != null) 'buyerPrivateData': buyerPrivateData!,
      if (deals != null) 'deals': deals!,
      if (displayName != null) 'displayName': displayName!,
      if (isRenegotiating != null) 'isRenegotiating': isRenegotiating!,
      if (isSetupComplete != null) 'isSetupComplete': isSetupComplete!,
      if (lastUpdaterOrCommentorRole != null)
        'lastUpdaterOrCommentorRole': lastUpdaterOrCommentorRole!,
      if (notes != null) 'notes': notes!,
      if (originatorRole != null) 'originatorRole': originatorRole!,
      if (privateAuctionId != null) 'privateAuctionId': privateAuctionId!,
      if (proposalId != null) 'proposalId': proposalId!,
      if (proposalRevision != null) 'proposalRevision': proposalRevision!,
      if (proposalState != null) 'proposalState': proposalState!,
      if (seller != null) 'seller': seller!,
      if (sellerContacts != null) 'sellerContacts': sellerContacts!,
      if (termsAndConditions != null)
        'termsAndConditions': termsAndConditions!,
      if (updateTime != null) 'updateTime': updateTime!,
    };