GoogleAdsHomeservicesLocalservicesV1AccountReport.fromJson constructor

GoogleAdsHomeservicesLocalservicesV1AccountReport.fromJson(
  1. Map json_
)

Implementation

GoogleAdsHomeservicesLocalservicesV1AccountReport.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        aggregatorInfo: json_.containsKey('aggregatorInfo')
            ? GoogleAdsHomeservicesLocalservicesV1AggregatorInfo.fromJson(
                json_['aggregatorInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        averageFiveStarRating: json_.containsKey('averageFiveStarRating')
            ? (json_['averageFiveStarRating'] as core.num).toDouble()
            : null,
        averageWeeklyBudget: json_.containsKey('averageWeeklyBudget')
            ? (json_['averageWeeklyBudget'] as core.num).toDouble()
            : null,
        businessName: json_.containsKey('businessName')
            ? json_['businessName'] as core.String
            : null,
        currencyCode: json_.containsKey('currencyCode')
            ? json_['currencyCode'] as core.String
            : null,
        currentPeriodChargedLeads:
            json_.containsKey('currentPeriodChargedLeads')
                ? json_['currentPeriodChargedLeads'] as core.String
                : null,
        currentPeriodConnectedPhoneCalls:
            json_.containsKey('currentPeriodConnectedPhoneCalls')
                ? json_['currentPeriodConnectedPhoneCalls'] as core.String
                : null,
        currentPeriodPhoneCalls: json_.containsKey('currentPeriodPhoneCalls')
            ? json_['currentPeriodPhoneCalls'] as core.String
            : null,
        currentPeriodTotalCost: json_.containsKey('currentPeriodTotalCost')
            ? (json_['currentPeriodTotalCost'] as core.num).toDouble()
            : null,
        impressionsLastTwoDays: json_.containsKey('impressionsLastTwoDays')
            ? json_['impressionsLastTwoDays'] as core.String
            : null,
        phoneLeadResponsiveness: json_.containsKey('phoneLeadResponsiveness')
            ? (json_['phoneLeadResponsiveness'] as core.num).toDouble()
            : null,
        previousPeriodChargedLeads:
            json_.containsKey('previousPeriodChargedLeads')
                ? json_['previousPeriodChargedLeads'] as core.String
                : null,
        previousPeriodConnectedPhoneCalls:
            json_.containsKey('previousPeriodConnectedPhoneCalls')
                ? json_['previousPeriodConnectedPhoneCalls'] as core.String
                : null,
        previousPeriodPhoneCalls:
            json_.containsKey('previousPeriodPhoneCalls')
                ? json_['previousPeriodPhoneCalls'] as core.String
                : null,
        previousPeriodTotalCost: json_.containsKey('previousPeriodTotalCost')
            ? (json_['previousPeriodTotalCost'] as core.num).toDouble()
            : null,
        totalReview: json_.containsKey('totalReview')
            ? json_['totalReview'] as core.int
            : null,
      );