toJson method

String toJson()

Generate a JSON from the object

Implementation

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