PackageApiDiffResult class
represents the result of a diff run
Constructors
Properties
-
apiChanges
→ List<
ApiChange> -
API changes that the diff run detected
final
- hasChanges → bool
-
whether this diff result contains any changes
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- rootNode → ApiChangeTreeNode
-
root node of the hierarchical representation of the changes
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addApiChange(
ApiChange change) → void - adds an API change. This is used by the PackageApiDiffer to add API changes. This method makes sure that the change is added to the list of changes as well as getting inserted into the hierarchical representation
-
addApiChanges(
Iterable< ApiChange> changes) → void -
calls addApiChange for all ApiChanges in
changes
-
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