toJson method

String toJson()

toJson returns a json string of the object.

Implementation

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