toJson method

String toJson()

toJson returns a json object of the object.

Implementation

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