Range.fromJson constructor

Range.fromJson(
  1. Map json_
)

Implementation

Range.fromJson(core.Map json_)
    : this(
        max: json_.containsKey('max')
            ? (json_['max'] as core.num).toDouble()
            : null,
        min: json_.containsKey('min')
            ? (json_['min'] as core.num).toDouble()
            : null,
      );