isDocument property

bool get isDocument

Returns true if this ContentfulContentNodeType is a document

Implementation

bool get isDocument => this == ContentfulContentNodeType.document;