W3cubDocs

/Dart 2

setLastModified method

Future setLastModified (DateTime time)

Modifies the time the file was last modified.

Returns a Future that completes once the operation has completed.

Throws a FileSystemException if the time cannot be set.

Implementation

Future setLastModified(DateTime time);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/File/setLastModified.html