toJson abstract method

Map<String, dynamic> toJson()

Converts the parameter to a JSON-serializable map.

Returns a map that can be serialized to JSON for the API request.

Implementation

Map<String, dynamic> toJson();