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