BLOCKS class Null safety

Map of all Contentful block types. Blocks contain inline or block nodes.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
key String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited
operator [](dynamic index) → dynamic

Static Properties

items List<BLOCKS>
read-only

Static Methods

fromKey(String key) → dynamic
fromValue(String value) → dynamic

Constants

DOCUMENT → const BLOCKS
const BLOCKS._internal('DOCUMENT', 'document')
EMBEDDED_ASSET → const BLOCKS
const BLOCKS._internal('EMBEDDED_ASSET', 'embedded-asset-block')
EMBEDDED_ENTRY → const BLOCKS
const BLOCKS._internal('EMBEDDED_ENTRY', 'embedded-entry-block')
HEADING_1 → const BLOCKS
const BLOCKS._internal('HEADING_1', 'heading-1')
HEADING_2 → const BLOCKS
const BLOCKS._internal('HEADING_2', 'heading-2')
HEADING_3 → const BLOCKS
const BLOCKS._internal('HEADING_3', 'heading-3')
HEADING_4 → const BLOCKS
const BLOCKS._internal('HEADING_4', 'heading-4')
HEADING_5 → const BLOCKS
const BLOCKS._internal('HEADING_5', 'heading-5')
HEADING_6 → const BLOCKS
const BLOCKS._internal('HEADING_6', 'heading-6')
HR → const BLOCKS
const BLOCKS._internal('HR', 'hr')
LIST_ITEM → const BLOCKS
const BLOCKS._internal('LIST_ITEM', 'list-item')
OL_LIST → const BLOCKS
const BLOCKS._internal('OL_LIST', 'ordered-list')
PARAGRAPH → const BLOCKS
const BLOCKS._internal('PARAGRAPH', 'paragraph')
QUOTE → const BLOCKS
const BLOCKS._internal('QUOTE', 'blockquote')
UL_LIST → const BLOCKS
const BLOCKS._internal('UL_LIST', 'unordered-list')