toIso8601 method

String toIso8601()

Converts the DateTime into an ISO8601 String

e.g. 2021-5-25T12:00:00.000Z

Implementation

String toIso8601() => Jiffy(this).format();