isPreferred property
bool
get
isPreferred
Marks this as a preferred action. Preferred actions are used by the auto fix
command and can be targeted
by keybindings.
A quick fix should be marked preferred if it properly addresses the underlying error. A refactoring should be marked preferred if it is the most reasonable choice of actions to take.
Implementation
_i2.bool get isPreferred => _i5.getProperty(
this,
'isPreferred',
);
set
isPreferred
(bool value)
Implementation
set isPreferred(_i2.bool value) {
_i5.setProperty(
this,
'isPreferred',
value,
);
}