onAccountChanged method
This method will be called while App user changes account. In this method, the plugin should do:
- update balance subscription to update balancesStore.
- update other user state of plugin if needed.
Implementation
Future<void> onAccountChanged(KeyPairData account) async => null;