RichNode class
One node of the ProseMirror tree: doc, paragraph, text, heading,
bulletList, orderedList, listItem, blockquote, horizontalRule,
image — or a type this build does not recognise, carried through by its
raw string rather than rejected (see RichDocument's doc).
Constructors
Properties
- attrs → RichAttrs
-
final
-
children
→ List<
RichNode> -
Child nodes, e.g. a
paragraph's inline content or abulletList's items. Empty for a leaf (text,horizontalRule,image).final - hashCode → int
-
The hash code for this object.
no setterinherited
-
marks
→ List<
RichMark> -
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - text → String?
-
Set only on a
textnode.final - type → String
-
The raw contract discriminator — kept even for a type this build does
not otherwise recognise, so a caller can special-case it if it wants to.
final
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