FakeClock constructor

FakeClock([
  1. DateTime? start
])

Creates a fake clock starting at start, or at the steno test epoch (2026-01-01T00:00:00Z) if not specified.

Implementation

FakeClock([DateTime? start])
    : _now = start ?? DateTime.utc(2026, 1, 1, 0, 0, 0);