toJson abstract method

Map<String, dynamic> toJson()

Convert the model to JSON. Implemented by child classes.

Implementation

Map<String, dynamic> toJson();