GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse.fromJson constructor

GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse.fromJson(
    core.Map json_)
    : this(
        detailedLeadReports: json_.containsKey('detailedLeadReports')
            ? (json_['detailedLeadReports'] as core.List)
                .map((value) =>
                    GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );