toJson method

String toJson()

Converts this completion to JSON.

Implementation

String toJson() => json.encode(toMap());