IpReputation.fromJson constructor

IpReputation.fromJson(
  1. Map json_
)

Implementation

IpReputation.fromJson(core.Map json_)
    : this(
        ipCount: json_.containsKey('ipCount')
            ? json_['ipCount'] as core.String
            : null,
        reputation: json_.containsKey('reputation')
            ? json_['reputation'] as core.String
            : null,
        sampleIps: json_.containsKey('sampleIps')
            ? (json_['sampleIps'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );