isSynthesized method

  1. @override
bool isSynthesized(
  1. DataFormat<Object> format
)
override

Returns whether value for given format is being synthesized. On Windows DIB images are accessible as PNG (converted on demand), same thing is done on macOS for TIFF images.

On desktop platforms file URIs are also exposed as files with appropriate formats so they can be read through DataReaderFile API. For those isSynthesized will also return true.

Implementation

@override
bool isSynthesized(DataFormat format) {
  return items.any((item) => item.isSynthesized(format));
}