contentAsBytes property

List<int> get contentAsBytes

Implementation

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

Implementation

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