toJson method

String toJson()

Converts this to String by using toString.

Implementation

String toJson() => toString();