toJson method

  1. @override
Object toJson()
override

Serializes this as a JSON object.

Implementation

@override
Object toJson() => value;