GoogleSecuritySafebrowsingV5HashListMetadata.fromJson constructor

GoogleSecuritySafebrowsingV5HashListMetadata.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV5HashListMetadata.fromJson(core.Map json_)
  : this(
      description: json_['description'] as core.String?,
      hashLength: json_['hashLength'] as core.String?,
      likelySafeTypes:
          (json_['likelySafeTypes'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      threatTypes:
          (json_['threatTypes'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );