scale property
How fast the game's time runs: 1 is real time, 0.5 slow motion, 0 stopped (objects still get their updates, with a delta of 0). To pause the game, input and all, use World.paused. Throws an ArgumentError unless it's finite and 0 or more.
Implementation
double get scale => _scale;
Implementation
set scale(double value) {
if (!(value >= 0 && value.isFinite)) throw ArgumentError.value(value, 'scale', 'must be finite and 0 or more');
_scale = value;
}