toJson method

String toJson()

dart:convert

Converts ModulesModel to a JSON string.

Implementation

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