dataAsBytes property

List<int> get dataAsBytes

Implementation

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

Implementation

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