toJson method

  1. @override
String toJson()
override

Serializes this as a JSON object.

Implementation

@override
String toJson() => key;