toUtc method

  1. @override
Interval toUtc()
override

Returns this temporal object in the UTC time zone.

Implementation

@override
Interval toUtc() => isUtc ? this : Interval(start?.toUtc(), end?.toUtc());