BucketRange.fromJson constructor

BucketRange.fromJson(
  1. Map json_
)

Implementation

BucketRange.fromJson(core.Map json_)
    : this(
        from: json_.containsKey('from')
            ? (json_['from'] as core.num).toDouble()
            : null,
        to: json_.containsKey('to')
            ? (json_['to'] as core.num).toDouble()
            : null,
      );