toJson abstract method

Map<String, dynamic> toJson()

Convert to JSON Map

Returns a Map<String, dynamic> representing the JSON serialization of the struct.

Implementation

Map<String, dynamic> toJson();