KeyInfo constructor

const KeyInfo(
  1. int keyId,
  2. SecureKey secureKey
)

Default constructor.

Implementation

const factory KeyInfo(
  /// The id of the [secureKey].
  ///
  /// Can be used in conjunction with [KeyManager.remoteKeyForTypeAndId] to
  /// re-obtain the same key.
  int keyId,

  /// The actual key.
  SecureKey secureKey,
) = _KeyInfo;