withRange method
Replaces YAxisConfig.min and YAxisConfig.max together.
The parameters are assert-coupled, so they only move as a pair.
Implementation
YAxisConfig withRange(double min, double max) => copyWith(min: min, max: max);
Replaces YAxisConfig.min and YAxisConfig.max together.
The parameters are assert-coupled, so they only move as a pair.
YAxisConfig withRange(double min, double max) => copyWith(min: min, max: max);