isText property

bool get isText

Returns true if this ContentfulContentNodeType is a text.

Implementation

bool get isText => this == ContentfulContentNodeType.text;