isCharacterDevice property

bool isCharacterDevice

Whether the file is a character device. See type.

Implementation

bool get isCharacterDevice => mode?.type == SftpFileType.characterDevice;