toJson method

String toJson()

properties are initialized by default.

Implementation

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