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('+', '-');
}