fromSecretKey static method
Implementation
static Ed25519KeyIdentity fromSecretKey(Uint8List secretKey) {
final keyPair = SigningKey.fromValidBytes(secretKey);
final identity = Ed25519KeyIdentity.fromKeyPair(
keyPair.publicKey.asTypedList,
secretKey,
);
return identity;
}