getClosestStepSize method

  1. @override
int getClosestStepSize(
  1. int stepSize
)

Find the closet step size, from provided step size, in milliseconds.

Implementation

@override
int getClosestStepSize(int stepSize) {
  return timeStepper.typicalStepSizeMs *
      _getClosestIncrementFromStepSize(stepSize);
}