toJson method

String toJson()

Return string json from toMap.

Implementation

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