fileContentsAsBytes property

List<int> get fileContentsAsBytes

Implementation

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

Implementation

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