SiteSummaryResponse.fromJson constructor

SiteSummaryResponse.fromJson(
  1. Map json_
)

Implementation

SiteSummaryResponse.fromJson(core.Map json_)
    : this(
        abusiveStatus: json_.containsKey('abusiveStatus')
            ? json_['abusiveStatus'] as core.String
            : null,
        enforcementTime: json_.containsKey('enforcementTime')
            ? json_['enforcementTime'] as core.String
            : null,
        filterStatus: json_.containsKey('filterStatus')
            ? json_['filterStatus'] as core.String
            : null,
        lastChangeTime: json_.containsKey('lastChangeTime')
            ? json_['lastChangeTime'] as core.String
            : null,
        reportUrl: json_.containsKey('reportUrl')
            ? json_['reportUrl'] as core.String
            : null,
        reviewedSite: json_.containsKey('reviewedSite')
            ? json_['reviewedSite'] as core.String
            : null,
        underReview: json_.containsKey('underReview')
            ? json_['underReview'] as core.bool
            : null,
      );