DealTerms.fromJson constructor
DealTerms.fromJson(
- Map _json
Implementation
DealTerms.fromJson(core.Map _json)
: this(
brandingType: _json.containsKey('brandingType')
? _json['brandingType'] as core.String
: null,
description: _json.containsKey('description')
? _json['description'] as core.String
: null,
estimatedGrossSpend: _json.containsKey('estimatedGrossSpend')
? Price.fromJson(_json['estimatedGrossSpend']
as core.Map<core.String, core.dynamic>)
: null,
estimatedImpressionsPerDay:
_json.containsKey('estimatedImpressionsPerDay')
? _json['estimatedImpressionsPerDay'] as core.String
: null,
guaranteedFixedPriceTerms:
_json.containsKey('guaranteedFixedPriceTerms')
? GuaranteedFixedPriceTerms.fromJson(
_json['guaranteedFixedPriceTerms']
as core.Map<core.String, core.dynamic>)
: null,
nonGuaranteedAuctionTerms:
_json.containsKey('nonGuaranteedAuctionTerms')
? NonGuaranteedAuctionTerms.fromJson(
_json['nonGuaranteedAuctionTerms']
as core.Map<core.String, core.dynamic>)
: null,
nonGuaranteedFixedPriceTerms:
_json.containsKey('nonGuaranteedFixedPriceTerms')
? NonGuaranteedFixedPriceTerms.fromJson(
_json['nonGuaranteedFixedPriceTerms']
as core.Map<core.String, core.dynamic>)
: null,
sellerTimeZone: _json.containsKey('sellerTimeZone')
? _json['sellerTimeZone'] as core.String
: null,
);