challengeAsBytes property

List<int> get challengeAsBytes

Implementation

core.List<core.int> get challengeAsBytes => convert.base64.decode(challenge!);
set challengeAsBytes (List<int> bytes_)

Implementation

set challengeAsBytes(core.List<core.int> bytes_) {
  challenge =
      convert.base64.encode(bytes_).replaceAll('/', '_').replaceAll('+', '-');
}