lastAccessed method

  1. @override
Future<DateTime> lastAccessed()

The last-accessed time of the file.

Returns a Future<DateTime> that completes with the date and time when the file was last accessed, if the information is available.

Throws a FileSystemException if the operation fails.

Implementation

@override
Future<DateTime> lastAccessed() {
  return Future.value(lastAccessedSync());
}