lastModified method

  1. @override
Future<DateTime> lastModified()

Get the last-modified time of the file.

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

Throws a FileSystemException if the operation fails.

Implementation

@override
Future<DateTime> lastModified() {
  return Future.value(lastModifiedSync());
}