toJson method

String toJson()

convert Map to String json

Implementation

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