toUtc method
Returns this DateTime value in the UTC time zone.
Returns this
if it is already in UTC.
Implementation
@override
TZDateTime toUtc() => isUtc ? this : TZDateTime.from(_native, UTC);
Returns this DateTime value in the UTC time zone.
Returns this
if it is already in UTC.
@override
TZDateTime toUtc() => isUtc ? this : TZDateTime.from(_native, UTC);