ExtractLocalVariableRefactoringOptions class
Create a local variable initialized by the expression that covers the specified selection.
It is an error if the selection range is not covered by a complete expression.
- Inheritance
-
- Object
- RefactoringOptions
- ExtractLocalVariableRefactoringOptions
Constructors
- ExtractLocalVariableRefactoringOptions({String? name, bool? extractAll})
Properties
- extractAll → bool?
-
True if all occurrences of the expression within the scope in which the
variable will be defined should be replaced by a reference to the local
variable. The expression used to initiate the refactoring will always be
replaced.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
The name that the local variable should be given.
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
-
toMap(
) → Map -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited