withRange method

XAxisConfig withRange(
  1. double min,
  2. double max
)

Replaces XAxisConfig.min and XAxisConfig.max together.

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

Implementation

XAxisConfig withRange(double min, double max) => copyWith(min: min, max: max);