toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (brandingType != null) 'brandingType': brandingType!,
      if (description != null) 'description': description!,
      if (estimatedGrossSpend != null)
        'estimatedGrossSpend': estimatedGrossSpend!.toJson(),
      if (estimatedImpressionsPerDay != null)
        'estimatedImpressionsPerDay': estimatedImpressionsPerDay!,
      if (guaranteedFixedPriceTerms != null)
        'guaranteedFixedPriceTerms': guaranteedFixedPriceTerms!.toJson(),
      if (nonGuaranteedAuctionTerms != null)
        'nonGuaranteedAuctionTerms': nonGuaranteedAuctionTerms!.toJson(),
      if (nonGuaranteedFixedPriceTerms != null)
        'nonGuaranteedFixedPriceTerms':
            nonGuaranteedFixedPriceTerms!.toJson(),
      if (sellerTimeZone != null) 'sellerTimeZone': sellerTimeZone!,
    };