toEJson method

EJsonValue? toEJson()

Converts this DateTime to EJson

Implementation

@pragma('vm:prefer-inline')
EJsonValue toEJson() => _encodeDate(this);