fileOf method

MaterialFile? fileOf(
  1. String path
)

The material at path as it is drawn: its parents laid under it, an unsaved edit standing in for a file — reading it the first time asked; null meanwhile, or when it could not be read (errorOf).

Implementation

MaterialFile? fileOf(String path) => _madeOf(path)?.file;