toJson abstract method

Map<String, dynamic> toJson()

Converts the data to a JSON representation.

Implementation

Map<String, dynamic> toJson();