toStringWithOffset method

String toStringWithOffset()

A version of DateTime.toString that includes the timezone offset.

Implementation

String toStringWithOffset() => _appendOffset(toString());