hdCreate method

Future<ICPAccount> hdCreate({
  1. String passphrase = '',
  2. int? index = 0,
  3. List<int>? icPath = icBasePath,
  4. CurveType curveType = CurveType.ed25519,
})

Implementation

Future<ICPAccount> hdCreate({
  String passphrase = '',
  int? index = 0,
  List<int>? icPath = icBasePath,
  CurveType curveType = CurveType.ed25519,
}) {
  return ICPAccount.fromPhrase(
    _phrase!,
    passphrase: passphrase,
    index: _index!,
    icPath: icPath,
    curveType: curveType,
  );
}