toJson method

String toJson()

converts Map to JSON.

Implementation

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