toJson abstract method

Map<String, dynamic> toJson()
inherited

Converts the object to a JSON-compatible map.

Implement this method in classes that use this mixin to provide custom serialization to JSON.

Implementation

Map<String, dynamic> toJson();