toJson abstract method

Map<String, dynamic> toJson()

Serialise to JSON.

Implementation

Map<String, dynamic> toJson();