getAutostepSize static method

int getAutostepSize({
  1. required int scaleMaxValue,
  2. int numValuesGenerated = 10,
})

Implementation

static int getAutostepSize({
  required int scaleMaxValue,
  int numValuesGenerated = 10,
}) {
  return max((scaleMaxValue / numValuesGenerated).ceil(), 1);
}