stripPadding static method

String stripPadding(
  1. String hash
)

Strips the padding from the base64url encoded string.

Implementation

static String stripPadding(String hash) {
  return hash.replaceAll(r'=', '');
}