FixKind class
A description of a class of fixes. Instances are intended to hold the information that is common across a number of fixes and to be shared by those fixes. For example, if an unnecessary cast is found then one of the suggested fixes will be to remove the cast. If there are multiple unnecessary casts in a single file, then there will be multiple fixes, one per occurrence, but they will all share the same kind.
Clients may not extend, implement or mix-in this class.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The unique identifier of this kind of assist. May be used by client editors,
for example to allow key-binding specific fixes (or groups of).
final
- message → String
-
A human-readable description of the changes that will be applied by this
kind of fix. The message can contain parameters, where each parameter is
represented by a zero-based index inside curly braces. For example, the
message
"Create a component named '{0}' in '{1}'"
contains two parameters.final - priority → int
-
The priority of this kind of fix for the kind of error being addressed
where a higher integer value indicates a higher priority and relevance.
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.
override