signPersonalMessage static method

String signPersonalMessage({
  1. required Uint8List message,
  2. String? privateKey,
  3. Uint8List? privateKeyInBytes,
})

Implementation

static String signPersonalMessage(
    {required Uint8List message,
    String? privateKey,
    Uint8List? privateKeyInBytes}) {
  final personalMessage = _getPersonalMessage(message);
  return sign(
      message: personalMessage,
      privateKey: privateKey,
      privateKeyInBytes: privateKeyInBytes);
}