toJson method

  1. @override
int toJson()
override

Serializes this as a JSON object.

Implementation

@override
int toJson() => value;