PriceInsights.fromJson constructor

PriceInsights.fromJson(
  1. Map json_
)

Implementation

PriceInsights.fromJson(core.Map json_)
  : this(
      effectiveness: json_['effectiveness'] as core.String?,
      predictedClicksChangeFraction:
          (json_['predictedClicksChangeFraction'] as core.num?)?.toDouble(),
      predictedConversionsChangeFraction:
          (json_['predictedConversionsChangeFraction'] as core.num?)
              ?.toDouble(),
      predictedGrossProfitChangeFraction:
          (json_['predictedGrossProfitChangeFraction'] as core.num?)
              ?.toDouble(),
      predictedImpressionsChangeFraction:
          (json_['predictedImpressionsChangeFraction'] as core.num?)
              ?.toDouble(),
      predictedMonthlyGrossProfitChangeCurrencyCode:
          json_['predictedMonthlyGrossProfitChangeCurrencyCode']
              as core.String?,
      predictedMonthlyGrossProfitChangeMicros:
          json_['predictedMonthlyGrossProfitChangeMicros'] as core.String?,
      suggestedPriceCurrencyCode:
          json_['suggestedPriceCurrencyCode'] as core.String?,
      suggestedPriceMicros: json_['suggestedPriceMicros'] as core.String?,
    );