timeZoneOffset property Null safety

Duration? timeZoneOffset

The time zone offset, which is the difference between local time and UTC.

Returns null if this is null

The offset is positive for time zones east of UTC.

Note, that JavaScript, Python and C return the difference between UTC and local time. Java, C# and Ruby return the difference between local time and UTC.

Implementation

Duration? get timeZoneOffset => _value?.timeZoneOffset;