setNow method

void setNow({
  1. required int epochSeconds,
})

Sets the current mocked time to epochSeconds (UTC).

HINT: Use to jump to an exact moment (e.g., next 30s window).

Implementation

void setNow({required int epochSeconds}) {
  _epochSeconds = _requireNonNegative(epochSeconds);
}