thumbnailAsBytes property

List<int> get thumbnailAsBytes

Implementation

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

Implementation

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