Range.fromJson constructor

Range.fromJson(
  1. Map _json
)

Implementation

Range.fromJson(core.Map _json) {
  if (_json.containsKey("max")) {
    max = _json["max"].toDouble();
  }
  if (_json.containsKey("min")) {
    min = _json["min"].toDouble();
  }
}