toLocal method

  1. @override
TZDateTime toLocal()
override

Returns this DateTime value in the local time zone.

Returns this if it is already in the local time zone.

Implementation

@override
TZDateTime toLocal() => isLocal ? this : TZDateTime.from(_native, local);