KeyPair constructor

KeyPair({
  1. required Uint8List publicKey,
  2. required SecureKey secretKey,
})

Default constructor.

Implementation

factory KeyPair({
  /// The public key of the key pair.
  required Uint8List publicKey,

  /// The secret key of the key pair.
  required SecureKey secretKey,
}) = _KeyPair;