isSocket property

bool isSocket

Whether the file is a socket. See type.

Implementation

bool get isSocket => mode?.type == SftpFileType.socket;