signMessage static method
Sign message
@param {String|Uint8List} private key - wallet's private key @param {Uint8List} message - the message to sign @returns {String} - signature
Implementation
static String signMessage(
{String? privateKey,
Uint8List? privateKeyInBytes,
required Uint8List message}) {
return SignatureUtil.sign(
message: message,
privateKey: privateKey,
privateKeyInBytes: privateKeyInBytes);
}