isValid property

bool get isValid

Check if the image is valid

Returns

  • True if the image is valid, false otherwise

Implementation

bool get isValid {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ImgFlutter',
    'isValid',
  );

  return resultString['result'] == 1;
}