RtbMetrics.fromJson constructor
RtbMetrics.fromJson(
- Map json_
Implementation
RtbMetrics.fromJson(core.Map json_)
: this(
adImpressions7Days: json_.containsKey('adImpressions7Days')
? json_['adImpressions7Days'] as core.String
: null,
bidRate7Days: json_.containsKey('bidRate7Days')
? (json_['bidRate7Days'] as core.num).toDouble()
: null,
bidRequests7Days: json_.containsKey('bidRequests7Days')
? json_['bidRequests7Days'] as core.String
: null,
bids7Days: json_.containsKey('bids7Days')
? json_['bids7Days'] as core.String
: null,
filteredBidRate7Days: json_.containsKey('filteredBidRate7Days')
? (json_['filteredBidRate7Days'] as core.num).toDouble()
: null,
mustBidRateCurrentMonth: json_.containsKey('mustBidRateCurrentMonth')
? (json_['mustBidRateCurrentMonth'] as core.num).toDouble()
: null,
);