Converts the object to a JSON-compatible map.
Implement this method in classes that use this mixin to provide custom serialization to JSON.
Map<String, dynamic> toJson();