offClick method
void
offClick(
- void callback()
A method that removes the button press event handler.
Implementation
void offClick(void Function() callback) => Telegram.WebApp.BackButton.offClick(callback.toJS);