A rule that decides whether a given DocumentNode should be merged into the node before it, when creating a Document from Quill Deltas.
This is useful, for example, to place multiple lines of code within a single code block.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
shouldMerge(
Attribution block1, Attribution block2) → bool? -
Returns
trueif two consecutive blocks with the given types should merge,falseif they shouldn't, ornullif this rule has no opinion about the merge. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited