GoogleSecuritySafebrowsingV4FindFullHashesResponse.fromJson constructor

GoogleSecuritySafebrowsingV4FindFullHashesResponse.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV4FindFullHashesResponse.fromJson(core.Map json_)
    : this(
        matches: json_.containsKey('matches')
            ? (json_['matches'] as core.List)
                .map((value) =>
                    GoogleSecuritySafebrowsingV4ThreatMatch.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        minimumWaitDuration: json_.containsKey('minimumWaitDuration')
            ? json_['minimumWaitDuration'] as core.String
            : null,
        negativeCacheDuration: json_.containsKey('negativeCacheDuration')
            ? json_['negativeCacheDuration'] as core.String
            : null,
      );