setLastAccessedSync method
Synchronously modifies the time the file was last accessed.
Throws a FileSystemException if the time cannot be set.
Implementation
@override
void setLastAccessedSync(DateTime time) {
final file = assertIsFile<MemoryFileImplementation>(
_fs,
path,
'Cannot set access time',
);
file.lastAccessed = time;
}