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