IndexStatusInspectionResult.fromJson constructor

IndexStatusInspectionResult.fromJson(
  1. Map json_
)

Implementation

IndexStatusInspectionResult.fromJson(core.Map json_)
    : this(
        coverageState: json_.containsKey('coverageState')
            ? json_['coverageState'] as core.String
            : null,
        crawledAs: json_.containsKey('crawledAs')
            ? json_['crawledAs'] as core.String
            : null,
        googleCanonical: json_.containsKey('googleCanonical')
            ? json_['googleCanonical'] as core.String
            : null,
        indexingState: json_.containsKey('indexingState')
            ? json_['indexingState'] as core.String
            : null,
        lastCrawlTime: json_.containsKey('lastCrawlTime')
            ? json_['lastCrawlTime'] as core.String
            : null,
        pageFetchState: json_.containsKey('pageFetchState')
            ? json_['pageFetchState'] as core.String
            : null,
        referringUrls: json_.containsKey('referringUrls')
            ? (json_['referringUrls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        robotsTxtState: json_.containsKey('robotsTxtState')
            ? json_['robotsTxtState'] as core.String
            : null,
        sitemap: json_.containsKey('sitemap')
            ? (json_['sitemap'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        userCanonical: json_.containsKey('userCanonical')
            ? json_['userCanonical'] as core.String
            : null,
        verdict: json_.containsKey('verdict')
            ? json_['verdict'] as core.String
            : null,
      );