GoogleSecuritySafebrowsingV5SearchHashesResponse.fromJson constructor

GoogleSecuritySafebrowsingV5SearchHashesResponse.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV5SearchHashesResponse.fromJson(core.Map json_)
    : this(
        cacheDuration: json_.containsKey('cacheDuration')
            ? json_['cacheDuration'] as core.String
            : null,
        fullHashes: json_.containsKey('fullHashes')
            ? (json_['fullHashes'] as core.List)
                .map((value) => GoogleSecuritySafebrowsingV5FullHash.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );