RelayAuthKeyPair.fromStrings constructor

RelayAuthKeyPair.fromStrings(
  1. String privateKey,
  2. String publicKey
)

Implementation

RelayAuthKeyPair.fromStrings(
  this.privateKey,
  this.publicKey,
)   : privateKeyBytes = Uint8List.fromList(hex.decode(privateKey)),
      publicKeyBytes = Uint8List.fromList(hex.decode(publicKey));