hasImage property

bool get hasImage

Returns true if an image is loaded and its bytes are not empty.

Implementation

bool get hasImage => _imageData == null ? false : _imageData!.bytes.isNotEmpty;