KeyPair constructor

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

Default constructor.

Implementation

const factory KeyPair({
  /// The secret key of the key pair.
  required SecureKey secretKey,

  /// The public key of the key pair.
  required Uint8List publicKey,
}) = _KeyPair;