stopWarmingUp method
void
stopWarmingUp()
Stop the warm-up phase.
Call this method only when useCustomWarmUp and isWarmingUp are both true. Call this method only once for each profile.
Implementation
void stopWarmingUp() {
if (!useCustomWarmUp) {
throw Exception(
'`stopWarmingUp` should be used only when `useCustomWarmUp` is true.');
} else if (!_isWarmingUp) {
throw Exception('Warm-up already stopped.');
} else {
_isWarmingUp = false;
}
}