indexOfPubKey method
Find an account with a matching pubKey
.
Implementation
int indexOfPubKey(Ed25519HDPublicKey pubKey) =>
toList(growable: false).indexWhere((account) => account.pubKey == pubKey);
Find an account with a matching pubKey
.
int indexOfPubKey(Ed25519HDPublicKey pubKey) =>
toList(growable: false).indexWhere((account) => account.pubKey == pubKey);