toJson method

String toJson()

Convenience method for easy json encoding.

Implementation

String toJson() => toString();