toJson abstract method

Map<String, dynamic> toJson()

Returns the JSON representation of a type in the form of Map

Implementation

Map<String, dynamic> toJson();