isHeading property

bool get isHeading

Returns true if is a Heading block.

Implementation

bool get isHeading => headingsTypes.contains(this.type);