Ed25519Keypair constructor

const Ed25519Keypair({
  1. required Uint8List pubkey,
  2. required Uint8List seckey,
})

Ed25519 keypair.

Implementation

const Ed25519Keypair({
  required this.pubkey,
  required this.seckey,
})  : assert(pubkey.length == nacl.pubkeyLength),
      assert(seckey.length == nacl.seckeyLength);