photoDataAsBytes property

List<int> get photoDataAsBytes

Implementation

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

Implementation

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