BidMetricsRow.fromJson constructor

BidMetricsRow.fromJson(
  1. Map json_
)

Implementation

BidMetricsRow.fromJson(core.Map json_)
    : this(
        bids: json_.containsKey('bids')
            ? MetricValue.fromJson(
                json_['bids'] as core.Map<core.String, core.dynamic>)
            : null,
        bidsInAuction: json_.containsKey('bidsInAuction')
            ? MetricValue.fromJson(
                json_['bidsInAuction'] as core.Map<core.String, core.dynamic>)
            : null,
        billedImpressions: json_.containsKey('billedImpressions')
            ? MetricValue.fromJson(json_['billedImpressions']
                as core.Map<core.String, core.dynamic>)
            : null,
        impressionsWon: json_.containsKey('impressionsWon')
            ? MetricValue.fromJson(json_['impressionsWon']
                as core.Map<core.String, core.dynamic>)
            : null,
        measurableImpressions: json_.containsKey('measurableImpressions')
            ? MetricValue.fromJson(json_['measurableImpressions']
                as core.Map<core.String, core.dynamic>)
            : null,
        reachedQueries: json_.containsKey('reachedQueries')
            ? MetricValue.fromJson(json_['reachedQueries']
                as core.Map<core.String, core.dynamic>)
            : null,
        rowDimensions: json_.containsKey('rowDimensions')
            ? RowDimensions.fromJson(
                json_['rowDimensions'] as core.Map<core.String, core.dynamic>)
            : null,
        viewableImpressions: json_.containsKey('viewableImpressions')
            ? MetricValue.fromJson(json_['viewableImpressions']
                as core.Map<core.String, core.dynamic>)
            : null,
      );