withInterval method

RangeAreaDataPoint withInterval(
  1. double low,
  2. double high
)

Replaces RangeAreaDataPoint.low and RangeAreaDataPoint.high together.

The parameters are assert-coupled, so they only move as a pair.

Implementation

RangeAreaDataPoint withInterval(double low, double high) =>
    copyWith(low: low, high: high);