Whether the file is a character device. See type.
bool get isCharacterDevice => mode?.type == SftpFileType.characterDevice;