toJson method

Json toJson()

The wire shape.

Implementation

Json toJson() => {'icon': icon.name, 'image_url': imageUrl, 'label': label};