imageAsBytes property

List<int> get imageAsBytes

Implementation

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

Implementation

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