BinaryNodePosition class
Document position for a DocumentNode that is either fully selected or unselected, like an image or a horizontal rule.
A BinaryNodePosition doesn't support upstream or downstream caret
positions - it only supports complete selection or non-selection.
- Implemented types
Constructors
- BinaryNodePosition.included()
-
const
- BinaryNodePosition.notIncluded()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isIncluded → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isEquivalentTo(
NodePosition other) → bool -
Whether this NodePosition is equivalent to the
otherNodePosition.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override