toJson method

String toJson()

Converts map to json string.

Implementation

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