toJson abstract method

Map<String, dynamic> toJson()

Converts the request parameters to a JSON representation.

Subclasses must implement this method to define how the request parameters are serialized to JSON.

Implementation

Map<String, dynamic> toJson();