set method

void set(
  1. DateTime value
)

Replaces the current time with value, normalized to UTC.

Implementation

void set(DateTime value) => _now = value.toUtc();