AdjustableTimeProvider constructor
AdjustableTimeProvider({
- required int initialEpochSeconds,
Creates an adjustable provider at the given initialEpochSeconds
(UTC).
HINT: Provide a deterministic fixed value in tests.
Implementation
AdjustableTimeProvider({required int initialEpochSeconds}) : _epochSeconds = _requireNonNegative(initialEpochSeconds);