toJson abstract method

dynamic toJson()

Serializes the model to JSON.

Returns:

  • A map representing the model in JSON format.

Implementation

dynamic toJson();