contentsAsBytes property

List<int> get contentsAsBytes

Implementation

core.List<core.int> get contentsAsBytes => convert.base64.decode(contents!);
set contentsAsBytes (List<int> _bytes)

Implementation

set contentsAsBytes(core.List<core.int> _bytes) {
  contents =
      convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-');
}