toUtc method Null safety

DateTime toUtc()

Returns this DateTime value in the UTC time zone.

Implementation

DateTime toUtc() => _value.toUtc();