BloomFilter.fromJson constructor

BloomFilter.fromJson(
  1. Map json_
)

Implementation

BloomFilter.fromJson(core.Map json_)
    : this(
        bits: json_.containsKey('bits')
            ? BitSequence.fromJson(
                json_['bits'] as core.Map<core.String, core.dynamic>)
            : null,
        hashCount: json_.containsKey('hashCount')
            ? json_['hashCount'] as core.int
            : null,
      );