signMessage method

void signMessage(
  1. SigningManager signer
)

Implementation

void signMessage(SigningManager signer) {
  var signature = signer.signMessage(message);
  if (signature == null) {
    this.signature = Uint8List(0);
  }

  this.signature = signature!.data;
}