Time.now constructor

Time.now()

Creates a Time instance representing the current moment.

Implementation

factory Time.now() => Time(DateTime.now());