Proposal.fromJson constructor
Proposal.fromJson(
- Map json_
Implementation
Proposal.fromJson(core.Map json_)
: this(
billedBuyer: json_.containsKey('billedBuyer')
? Buyer.fromJson(
json_['billedBuyer'] as core.Map<core.String, core.dynamic>)
: null,
buyer: json_.containsKey('buyer')
? Buyer.fromJson(
json_['buyer'] as core.Map<core.String, core.dynamic>)
: null,
buyerContacts: json_.containsKey('buyerContacts')
? (json_['buyerContacts'] as core.List)
.map((value) => ContactInformation.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
buyerPrivateData: json_.containsKey('buyerPrivateData')
? PrivateData.fromJson(json_['buyerPrivateData']
as core.Map<core.String, core.dynamic>)
: null,
deals: json_.containsKey('deals')
? (json_['deals'] as core.List)
.map((value) => Deal.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
isRenegotiating: json_.containsKey('isRenegotiating')
? json_['isRenegotiating'] as core.bool
: null,
isSetupComplete: json_.containsKey('isSetupComplete')
? json_['isSetupComplete'] as core.bool
: null,
lastUpdaterOrCommentorRole:
json_.containsKey('lastUpdaterOrCommentorRole')
? json_['lastUpdaterOrCommentorRole'] as core.String
: null,
notes: json_.containsKey('notes')
? (json_['notes'] as core.List)
.map((value) => Note.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
originatorRole: json_.containsKey('originatorRole')
? json_['originatorRole'] as core.String
: null,
privateAuctionId: json_.containsKey('privateAuctionId')
? json_['privateAuctionId'] as core.String
: null,
proposalId: json_.containsKey('proposalId')
? json_['proposalId'] as core.String
: null,
proposalRevision: json_.containsKey('proposalRevision')
? json_['proposalRevision'] as core.String
: null,
proposalState: json_.containsKey('proposalState')
? json_['proposalState'] as core.String
: null,
seller: json_.containsKey('seller')
? Seller.fromJson(
json_['seller'] as core.Map<core.String, core.dynamic>)
: null,
sellerContacts: json_.containsKey('sellerContacts')
? (json_['sellerContacts'] as core.List)
.map((value) => ContactInformation.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
termsAndConditions: json_.containsKey('termsAndConditions')
? json_['termsAndConditions'] as core.String
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);