GuiToggle method
Implementation
@override
(int result, bool active) GuiToggle(
RectangleD bounds,
String? text,
bool active,
) => run(
() => RaylibDebugLabels.GuiToggle(bounds, text, active),
() {
final valuePtr = rl.Temp.Bool$.Ref1(active);
final result = rl.Gui.GuiToggle.run3(
rl.Temp.Rectangle$.Ref1(bounds).toJS,
text?.toJS,
valuePtr.toJS,
).toInt();
return (result, valuePtr.value);
},
);