ExtractLocalVariableOptions class
extractLocalVariable options
{ "name": String "extractAll": bool }
Clients may not extend, implement or mix-in this class.
- Inheritance
-
- Object
- RefactoringOptions
- ExtractLocalVariableOptions
Constructors
- ExtractLocalVariableOptions(String name, bool extractAll)
- ExtractLocalVariableOptions.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
- ExtractLocalVariableOptions.fromRefactoringParams(EditGetRefactoringParams refactoringParams, Request request)
-
factory
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.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- name ↔ String
-
The name that the local variable should be given.
getter/setter pair
- 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
-
toJson(
) → Map< String, Object> -
Returns a JSON presentation of the object.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override