isSocket property

bool get isSocket

Whether the file is a socket. See type.

Implementation

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