isBlockDevice property

bool get isBlockDevice

Whether the file is a block device. See type.

Implementation

bool get isBlockDevice => mode?.type == SftpFileType.blockDevice;