toJson method

  1. @override
dynamic toJson()

Returns the json representation of value.

Implementation

@override
dynamic toJson() => (value as dynamic)?.toJson();