fileFor method

File fileFor(
  1. AssetId id
)

Returns the actual File in this environment corresponding to id.

The returned File may or may not already exist. Call ensureAssets with id to make sure it is actually present.

Implementation

File fileFor(AssetId id) =>
    File(p.join(tempDir.path, p.normalize(_relativePathFor(id))));