seconds property

Time get seconds

Creates a Time instance representing this numerical value in Seconds (s).

Implementation

Time get seconds => Time(toDouble(), TimeUnit.second);