isValid property
bool
get
isValid
Whether the SDK has valid image data available.
Always check this before calling getRenderableImage or getRenderableImageBytes, as those methods return null when the image is invalid.
Returns
trueif valid image data exists,falseotherwise
Implementation
bool get isValid {
final OperationResult resultString = objectMethod(
pointerId,
'ImgFlutter',
'isValid',
);
return resultString['result'] == 1;
}