dart / 1 / dart-io / file / lastmodified.html

lastModified abstract method

Future<DateTime> lastModified()

Get the last-modified time of the file.

Returns the date and time when the file was last modified, if the information is available.

Throws a FileSystemException if the operation fails.

Source

Future<DateTime> lastModified();

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