W3cubDocs

/Dart 2

lastAccessedSync method

DateTime lastAccessedSync ()

Get the last-accessed time of the file.

Returns the date and time when the file was last accessed, if the information is available. Blocks until the information can be returned or it is determined that the information is not available.

Throws a FileSystemException if the operation fails.

Implementation

DateTime lastAccessedSync();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-io/File/lastAccessedSync.html