sign method

void sign(
  1. String privateKey
)

Implementation

void sign(String privateKey) {
  sig = Bip340.sign(id, privateKey);
}