toJson abstract method

Map<String, dynamic> toJson()

serializes the object to JSON

Implementation

Map<String, dynamic> toJson();