toJson method Null safety

dynamic toJson()

Returns the json representation of value.

Implementation

dynamic toJson() => value;