toJson method

String toJson()

JSON string representation of this model.

Implementation

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