toJson method

Map<String, dynamic> toJson()

Converts to a json value

Implementation

Map<String, dynamic> toJson() => toMap();