isFoldable property

bool get isFoldable

Returns true if this is a foldable device.

Implementation

bool get isFoldable => deviceType == DeviceType.foldable;