Detection.fromJson constructor

Detection.fromJson(
  1. Map json_
)

Implementation

Detection.fromJson(core.Map json_)
    : this(
        binary: json_.containsKey('binary')
            ? json_['binary'] as core.String
            : null,
        percentPagesMatched: json_.containsKey('percentPagesMatched')
            ? (json_['percentPagesMatched'] as core.num).toDouble()
            : null,
      );