toJson method

String toJson()

Converts the operation to a JSON string.

Implementation

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