GoogleSecuritySafebrowsingV5FullHash.fromJson constructor

GoogleSecuritySafebrowsingV5FullHash.fromJson(
  1. Map json_
)

Implementation

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