isPipe property

bool get isPipe

Whether the file is a pipe. See type.

Implementation

bool get isPipe => mode?.type == SftpFileType.pipe;