isCharacterDevice property

bool get isCharacterDevice

Whether the file is a character device. See type.

Implementation

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