detach method
Removes this extension from being the active Web Authentication API request proxy.
This method is typically called when the extension detects that a remote desktop session was terminated. Once this method returns, the extension ceases to be the active Web Authentication API request proxy.
Refer to the onRemoteSessionStateChange
event for signaling
a change of remote session attachment from a native application to to
the (possibly suspended) extension.
Implementation
Future<String?> detach() async {
var $res = await promiseToFuture<String?>(
$js.chrome.webAuthenticationProxy.detach());
return $res;
}