fs top-level property

FileSystem get fs

The default implementation of clock for the current Zone.

This defaults to the system clock. It can be set within a zone using withFileSystem.

Implementation

FileSystem get fs =>
    Zone.current[_fsKey] as FileSystem? ?? const LocalFileSystem();