TreeDiff class

Constructors

TreeDiff({required ITreeNode oldTree, required ITreeNode newTree})
factory

Properties

allUpdates Iterable<TreeDiffNodeChange>
no setter
hashCode int
The hash code for this object.
no setterinherited
newTree ITreeNode
final
nodesAdded Iterable<TreeDiffNodeAdd>
final
nodesInserted Iterable<TreeDiffNodeInsert>
final
nodesRemoved Iterable<TreeDiffNodeRemove>
final
nodesUnchanged Iterable<(INode, INode)>
final
nodesUpdated Iterable<TreeDiffNodeUpdate>
final
oldTree ITreeNode
final
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

forIndexedTree({required IndexedTreeNode oldTree, required IndexedTreeNode newTree}) TreeDiff
forTree({required TreeNode oldTree, required TreeNode newTree}) TreeDiff