Fix class final

A description of a single proposed fix for some problem.

Constructors

Fix({required FixKind kind, required SourceChange change})
Initializes a newly created fix to have the given kind and change.

Properties

change SourceChange
The change to be made in order to apply the fix.
final
hashCode int
The hash code for this object.
no setterinherited
kind FixKind
A description of the fix being proposed.
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.
override

Operators

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

Static Methods

compareFixes(Fix a, Fix b) int
Sorts fixes by their relevance.