isListItem property

bool get isListItem

Returns true if this ContentfulContentNodeType is a list item.

Implementation

bool get isListItem => this == ContentfulContentNodeType.listItem;