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