ContentfulContentNodeType enum

Enumerations for Contentful content node types. It could be a paragraph, an embedded asset block or a document. A document is a collection of nodes. A node is a paragraph or an embedded asset block. An embedded asset block is an asset that is embedded in a paragraph.

Inheritance
Available extensions

Values

unorderedList → const ContentfulContentNodeType

A text. It contains a list of marks.

orderedList → const ContentfulContentNodeType

A text. It contains a list of marks.

listItem → const ContentfulContentNodeType

A text. It contains a list of marks.

headingOne → const ContentfulContentNodeType

A heading one.

headingTwo → const ContentfulContentNodeType

A heading two.

headingThree → const ContentfulContentNodeType

A heading three.

headingFour → const ContentfulContentNodeType

A heading four.

headingFive → const ContentfulContentNodeType

A heading five.

headingSix → const ContentfulContentNodeType

A heading six.

blockquote → const ContentfulContentNodeType

A blockquote. It contains a list of paragraph contents.

paragraph → const ContentfulContentNodeType

A paragraph. It contains a list of paragraph contents.

embeddedAssetBlock → const ContentfulContentNodeType

An embeddedAssetBlock. It contains an asset.

document → const ContentfulContentNodeType

A document. It contains a list of nodes, it could contain a paragraph or an embedded asset block.

hr → const ContentfulContentNodeType

A divider, it is a horizontal line.

text → const ContentfulContentNodeType

A text. It contains a list of marks.

A hyperlink.

A asset hyperlink.

A asset hyperlink.

Properties

hashCode int
The hash code for this object.
no setterinherited

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

no setter
index int
A numeric identifier for the enumerated value.
no setterinherited

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a asset hyperlink
no setter
isBlockquote bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a blockquote
no setter
isDocument bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a document
no setter
isEmbeddedAssetBlock bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is an embedded-asset-block
no setter

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a entry hyperlink
no setter
isHeading bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

no setter
isHeadingFive bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a heading-5
no setter
isHeadingFour bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a heading-4
no setter
isHeadingOne bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a heading-1
no setter
isHeadingSix bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a heading-6
no setter
isHeadingThree bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a heading-3
no setter
isHeadingTwo bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a heading-2
no setter
isHorizontalDivider bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a hr
no setter

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a hyperlink
no setter
isList bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

no setter
isListItem bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a list item.
no setter
isOrderedList bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is an ordered list.
no setter
isParagraph bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a paragraph
no setter
isText bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is a text.
no setter
isUnorderedList bool

Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension

Returns true if this ContentfulContentNodeType is an unordered list.
no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ContentfulContentNodeType>
A constant List of the values in this enum, in order of their declaration.