toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of this Object in the data type used by jsonDecode.

Implementation

Map<String, dynamic> toJson() => jsonDecode(toJsonString());