Converts an object to JSON.
@override Map<String, dynamic> toJson() { final returnValue = <String, dynamic>{ "\$": "0x58707d28", "topic": topic, }; // Finished toJson. return returnValue; }