toJson method

String toJson()

Convert to JSON

Implementation

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