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

lastAccessed abstract method

Future<DateTime> lastAccessed()

Get the last-accessed time of the file.

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

Throws a FileSystemException if the operation fails.

Source

Future<DateTime> lastAccessed();

© 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/lastAccessed.html