file function

FileCollection file(
  1. String path
)

Create a FileCollection consisting of a single file.

Implementation

FileCollection file(String path) =>
    _FileCollection({_ensurePosixPath(path)}, const []);