toUtc method

Time toUtc()

Returns a new Time instance representing the same moment in UTC.

Implementation

Time toUtc() => Time(_dateTime.toUtc());