AssistKind class

A description of a class of assists. Instances are intended to hold the information that is common across a number of assists and to be shared by those assists.

Clients may not extend, implement or mix-in this class.

Constructors

AssistKind(String id, int priority, String message)
Initialize a newly created kind of assist to have the given id, priority and message.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
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 assist. 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 assist 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.
inherited