toPutJson abstract method

Map<String, dynamic>? toPutJson()

Converts the body data model to a JSON object for a PUT request.

This method should be implemented by subclasses to convert their specific data to a JSON object. It should only include properties that need to be sent in a PUT request.

Implementation

Map<String, dynamic>? toPutJson();