isVirtual method

Future<bool> isVirtual(
  1. String format
)

When true the content can be received through getVirtualFileReceiver. On macOS and Windows if isVirtual is true the content can only be received through getVirtualFileReceiver - getDataForFormat will return null.

Implementation

Future<bool> isVirtual(String format) {
  return ReaderManager.instance.canGetVirtualFile(_handle, format: format);
}