getECKeys function
Implementation
ECKeys getECKeys(
String mnemonic, {
String passphrase = '',
int index = 0,
int coinType = CoinType.icp,
}) {
assert(validateMnemonic(mnemonic), 'Mnemonic phrases is not valid $mnemonic');
final seed = mnemonicToSeed(mnemonic, passphrase: passphrase);
return ecKeysfromSeed(seed, index: index, coinType: coinType);
}