photoBytesAsBytes property

List<int> get photoBytesAsBytes

Implementation

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

Implementation

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