toJson abstract method

Map<String, dynamic> toJson()

Serialize to JSON

Implementation

Map<String, dynamic> toJson();