contentsAsBytes property Null safety

List<int> contentsAsBytes

Implementation

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

Implementation

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