lastModifiedSync method Null safety
Get the last-modified time of the file.
Returns the date and time when the file was last modified, 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.