cryptoKeyAsBytes property

List<int> get cryptoKeyAsBytes

Implementation

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

Implementation

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