MemoryHashSignature.fromJson constructor

MemoryHashSignature.fromJson(
  1. Map json_
)

Implementation

MemoryHashSignature.fromJson(core.Map json_)
    : this(
        binaryFamily: json_.containsKey('binaryFamily')
            ? json_['binaryFamily'] as core.String
            : null,
        detections: json_.containsKey('detections')
            ? (json_['detections'] as core.List)
                .map((value) => Detection.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );