toJson abstract method

Map<String, dynamic> toJson()

Converts an object to JSON.

Implementation

Map<String, dynamic> toJson();