BiddingStrategy.fromJson constructor

BiddingStrategy.fromJson(
  1. Map json_
)

Implementation

BiddingStrategy.fromJson(core.Map json_)
    : this(
        fixedBid: json_.containsKey('fixedBid')
            ? FixedBidStrategy.fromJson(
                json_['fixedBid'] as core.Map<core.String, core.dynamic>)
            : null,
        maximizeSpendAutoBid: json_.containsKey('maximizeSpendAutoBid')
            ? MaximizeSpendBidStrategy.fromJson(json_['maximizeSpendAutoBid']
                as core.Map<core.String, core.dynamic>)
            : null,
        performanceGoalAutoBid: json_.containsKey('performanceGoalAutoBid')
            ? PerformanceGoalBidStrategy.fromJson(
                json_['performanceGoalAutoBid']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );