BlockType class
Discriminator for block types. The structure of content varies by type (e.g. paragraph carries richText; code carries richText + language; image carries url + caption + altText).
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
- bulletedListItem → const BlockType
- callout → const BlockType
- code → const BlockType
- column → const BlockType
- columnList → const BlockType
- divider → const BlockType
- embed → const BlockType
- equation → const BlockType
- file → const BlockType
- heading1 → const BlockType
- heading2 → const BlockType
- heading3 → const BlockType
- image → const BlockType
- numberedListItem → const BlockType
- paragraph → const BlockType
- quote → const BlockType
- table → const BlockType
- tableOfContents → const BlockType
- tableRow → const BlockType
- toDo → const BlockType
- toggle → const BlockType
-
values
→ const List<
BlockType> - List of all possible values in this BlockType.
- video → const BlockType