GoogleCloudWebriskV1SearchHashesResponse.fromJson constructor

GoogleCloudWebriskV1SearchHashesResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudWebriskV1SearchHashesResponse.fromJson(core.Map json_)
    : this(
        negativeExpireTime: json_.containsKey('negativeExpireTime')
            ? json_['negativeExpireTime'] as core.String
            : null,
        threats: json_.containsKey('threats')
            ? (json_['threats'] as core.List)
                .map((value) =>
                    GoogleCloudWebriskV1SearchHashesResponseThreatHash
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );