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.
- hyperlink → const ContentfulContentNodeType
-
A hyperlink.
- assetHyperlink → const ContentfulContentNodeType
-
A asset hyperlink.
- entryHyperlink → const ContentfulContentNodeType
-
A asset hyperlink.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasHyperlink → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
no setter - index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isAssetHyperlink → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a asset hyperlinkno setter - isBlockquote → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a blockquoteno setter - isDocument → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a documentno setter - isEmbeddedAssetBlock → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is an embedded-asset-blockno setter - isEntryHyperlink → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a entry hyperlinkno setter - isHeading → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
no setter - isHeadingFive → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a heading-5no setter - isHeadingFour → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a heading-4no setter - isHeadingOne → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a heading-1no setter - isHeadingSix → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a heading-6no setter - isHeadingThree → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a heading-3no setter - isHeadingTwo → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a heading-2no setter - isHorizontalDivider → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a hrno setter - isHyperlink → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a hyperlinkno setter - isList → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
no setter - isListItem → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a list item.no setter - isOrderedList → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is an ordered list.no setter - isParagraph → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a paragraphno setter - isText → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
if this ContentfulContentNodeType is a text.no setter - isUnorderedList → bool
-
Available on ContentfulContentNodeType, provided by the ContentfulContentNodeTypeX extension
Returnstrue
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.