onWillStart method

Future<void> onWillStart(
  1. Keyring keyring
)

This method will be called before plugin start

Implementation

Future<void> onWillStart(Keyring keyring) async {
  if (keyring.current.address != null) {
    loadBalances(keyring.current);
  }
}