toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (billedBuyer != null) 'billedBuyer': billedBuyer!.toJson(),
if (buyer != null) 'buyer': buyer!.toJson(),
if (buyerContacts != null)
'buyerContacts':
buyerContacts!.map((value) => value.toJson()).toList(),
if (buyerPrivateData != null)
'buyerPrivateData': buyerPrivateData!.toJson(),
if (deals != null)
'deals': deals!.map((value) => value.toJson()).toList(),
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!.map((value) => value.toJson()).toList(),
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!.toJson(),
if (sellerContacts != null)
'sellerContacts':
sellerContacts!.map((value) => value.toJson()).toList(),
if (termsAndConditions != null)
'termsAndConditions': termsAndConditions!,
if (updateTime != null) 'updateTime': updateTime!,
};