toEJson method

EJsonValue? toEJson()

Converts this BsonKey to EJson

Implementation

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