disconnect method
prompts the server to disconnect the wallet
onDisconnect
is called once there's a disconnect response from the server
Implementation
Future<void> disconnect(Function(W3GResponse) onDisconnect) async {
on("disconnect", onDisconnect);
send({"path": "disconnect"});
}