signHash static method
Decodes the base64 url encoded hash string and signs it with the private key.
Implementation
static String signHash({
required String hash,
required String privateKey,
}) {
return signHashBytes(
hash: base64Url.decode(base64Url.normalize(hash)),
privateKey: privateKey,
);
}