isImageAvailable method

bool isImageAvailable()

Returns true if an image is available, locally or on the server.

That's the same as getImageProvider != null, without its possible side-effects.

Implementation

bool isImageAvailable() => getImage() != null || url != null;