finish method

  1. @override
void finish({
  1. String? message,
  2. bool showTiming = false,
})
override

Finish the indeterminate progress display.

Implementation

@override
void finish({String? message, bool showTiming = false}) {
  if (_timer.isActive) {
    _timer.cancel();
    _updateDisplay(
      isFinal: true,
      message: message,
      showTiming: showTiming,
    );
  }
}