Clock.fixed constructor

Clock.fixed(
  1. DateTime time
)

Creates Clock that always considers the current time to be time.

Implementation

Clock.fixed(DateTime time) : _time = (() => time);