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