ApiChange class
Represents one API change
Constructors
-
ApiChange({required ApiChangeCode changeCode, required List<
Declaration> contextTrace, Declaration? affectedDeclaration, required String changeDescription, required ApiChangeType type, required bool isExperimental}) - creates a new ApiChange instance
Properties
- affectedDeclaration → Declaration?
-
The affected declaration. This is the declaration that got changed
final
- changeCode → ApiChangeCode
-
Code of the change. This can be used to read more about the reasoning behind this change
final
- changeDescription → String
-
A textual description of the change
final
-
contextTrace
→ List<
Declaration> -
the context of this change. This can be the class the changed method belongs to or the method the changed parameter belongs to.
is null for situations where there is no context (like root level functions)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBreaking → bool
-
no setter
- isExperimental → bool
-
Determines if this change happened in an experimental context
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ApiChangeType
-
Type of change
final
Methods
-
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.
inherited