ImpressionMetricsRow.fromJson constructor

ImpressionMetricsRow.fromJson(
  1. Map json_
)

Implementation

ImpressionMetricsRow.fromJson(core.Map json_)
    : this(
        availableImpressions: json_.containsKey('availableImpressions')
            ? MetricValue.fromJson(json_['availableImpressions']
                as core.Map<core.String, core.dynamic>)
            : null,
        bidRequests: json_.containsKey('bidRequests')
            ? MetricValue.fromJson(
                json_['bidRequests'] as core.Map<core.String, core.dynamic>)
            : null,
        inventoryMatches: json_.containsKey('inventoryMatches')
            ? MetricValue.fromJson(json_['inventoryMatches']
                as core.Map<core.String, core.dynamic>)
            : null,
        responsesWithBids: json_.containsKey('responsesWithBids')
            ? MetricValue.fromJson(json_['responsesWithBids']
                as core.Map<core.String, core.dynamic>)
            : null,
        rowDimensions: json_.containsKey('rowDimensions')
            ? RowDimensions.fromJson(
                json_['rowDimensions'] as core.Map<core.String, core.dynamic>)
            : null,
        successfulResponses: json_.containsKey('successfulResponses')
            ? MetricValue.fromJson(json_['successfulResponses']
                as core.Map<core.String, core.dynamic>)
            : null,
      );