toJson abstract method

Map<String, dynamic> toJson()

Convert to JSON representation

Implementation

Map<String, dynamic> toJson();