GoogleSecuritySafebrowsingV5SearchUrlsResponse.fromJson constructor

GoogleSecuritySafebrowsingV5SearchUrlsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV5SearchUrlsResponse.fromJson(core.Map json_)
  : this(
      cacheDuration: json_['cacheDuration'] as core.String?,
      threats: (json_['threats'] as core.List?)
          ?.map(
            (value) => GoogleSecuritySafebrowsingV5ThreatUrl.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );