Converts an object to JSON.
@override Map<String, dynamic> toJson() { return { '\$': '0x3fedd339', 'value': true, }; }