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 (client != null) 'client': client!,
  if (dealType != null) 'dealType': dealType!,
  if (displayName != null) 'displayName': displayName!,
  if (isRenegotiating != null) 'isRenegotiating': isRenegotiating!,
  if (lastUpdaterOrCommentorRole != null)
    'lastUpdaterOrCommentorRole': lastUpdaterOrCommentorRole!,
  if (name != null) 'name': name!,
  if (notes != null) 'notes': notes!,
  if (originatorRole != null) 'originatorRole': originatorRole!,
  if (pausingConsented != null) 'pausingConsented': pausingConsented!,
  if (proposalRevision != null) 'proposalRevision': proposalRevision!,
  if (publisherProfile != null) 'publisherProfile': publisherProfile!,
  if (sellerContacts != null) 'sellerContacts': sellerContacts!,
  if (state != null) 'state': state!,
  if (termsAndConditions != null) 'termsAndConditions': termsAndConditions!,
  if (updateTime != null) 'updateTime': updateTime!,
};