install method
Implementation
@override
void install(DynamicClient client) {
// Never explicitly cancelled — this client lives for the root
// client's lifetime.
client.tokenChanged.listen((token) {
if (token == null) {
if (!_observedAuthenticatedSession) return;
// Catch total failures to avoid unhandled Futures.
lockWaasWallets().catchError((_) {});
} else {
_observedAuthenticatedSession = true;
}
});
}