DoubleMatcher.fromJson constructor

DoubleMatcher.fromJson(
  1. Map json_
)

Implementation

DoubleMatcher.fromJson(core.Map json_)
    : this(
        exact: json_.containsKey('exact')
            ? (json_['exact'] as core.num).toDouble()
            : null,
        range: json_.containsKey('range')
            ? DoubleRange.fromJson(
                json_['range'] as core.Map<core.String, core.dynamic>)
            : null,
      );