keyAsBytes property

List<int> get keyAsBytes

Implementation

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

Implementation

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