sourceOf method

MaterialFile? sourceOf(
  1. String path
)

The file at path as saved (or as preview shows it), not resolved: a variant's own keys only. Null until read.

Implementation

MaterialFile? sourceOf(String path) => _previews[path] ?? _source(path).file;