isList property

bool get isList

True for bulleted/numbered/check lists.

Implementation

bool get isList => type == UBlockType.bulleted || type == UBlockType.numbered || type == UBlockType.checklist;