isToogle property

bool get isToogle

Returns true if is a Toogle block.

Implementation

bool get isToogle => this.type == BlockTypes.Toggle;