toJson method

  1. @override
Object toJson()
override

Converts the object to a JSON representation.

Returns the JSON representation of the object.

Implementation

@override
Object toJson() => value;