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