timeScale property
Sets the time scale to given value if it is non-negative. Note: Too high values will result in inconsistent gameplay and tunneling in physics.
Implementation
set timeScale(double value) {
if (value.isNegative) {
return;
}
_timeScale = value;
}