withRange method
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);
Replaces XAxisConfig.min and XAxisConfig.max together.
The parameters are assert-coupled, so they only move as a pair.
XAxisConfig withRange(double min, double max) => copyWith(min: min, max: max);