imageAsBytes property

List<int> get imageAsBytes

Implementation

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

Implementation

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