refreshToken method
The function can be called when widget mey become expired and needs to be refreshed.
This method can only be called when widgetId is not null.
example:
// Initialize controller
TurnstileController controller = TurnstileController();
await controller.refreshToken();
Implementation
Future<void> refreshToken() async {
_token = null;
await _connector
?.callMethod('eval', ['''turnstile.reset(`$_widgetId`);''']);
}