generateCodeChallenge method

String generateCodeChallenge(
  1. String s
)

Implementation

String generateCodeChallenge(String s) {
  return base64Url.encode(sha256.convert(ascii.encode(s)).bytes).replaceAll('=', '');
}