modified property
The time of the last change to the data of the file system object.
Implementation
@override
DateTime get modified {
if (_impl == null) {
return _defaultDateTime;
}
if (_impl is MemoryFileImplementation) {
return (_impl as MemoryFileImplementation).lastModified;
}
if (_impl is MapBasedFsDirectoryImplementation) {
// TODO(ehesp): This probably isn't correct.
return DateTime.now();
}
throw UnimplementedError();
}