toJson method

  1. @override
dynamic toJson()
override

Converts the object to a JSON representation.

Returns the JSON representation of the object.

Implementation

@override
toJson() => JsonConvertible.serialize($1 ?? $2);