iconAsBytes property

List<int> get iconAsBytes

Implementation

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

Implementation

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