create static method

Future<ICPSigner> create({
  1. CurveType curveType = CurveType.ed25519,
})

Implementation

static Future<ICPSigner> create({
  CurveType curveType = CurveType.ed25519,
}) {
  return ICPSigner.fromPhrase(generateMnemonic(), curveType: curveType);
}