accessed property
The time of the last access to the data of the file system object.
On Windows platforms, this may have 1 day granularity, and be out of date by an hour.
Implementation
@override
DateTime get accessed {
if (_impl == null) {
return _defaultDateTime;
}
if (_impl is MapBasedFsFileImplementation) {
return (_impl as MemoryFileImplementation).lastAccessed;
}
if (_impl is MapBasedFsDirectoryImplementation) {
return DateTime.now();
}
throw UnimplementedError();
}