isFile property

bool get isFile

Whether the file is a symbolic link. See type.

Implementation

bool get isFile => mode?.type == SftpFileType.regularFile;