RenameFeedback class
rename feedback
{ "offset": int "length": int "elementKindName": String "oldName": String }
Clients may not extend, implement or mix-in this class.
- Inheritance
-
- Object
- RefactoringFeedback
- RenameFeedback
Constructors
- RenameFeedback(int offset, int length, String elementKindName, String oldName)
- RenameFeedback.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
Properties
- elementKindName ↔ String
-
The human-readable description of the kind of element being renamed (such
as "class" or "function type alias").
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- length ↔ int
-
The length of the name selected to be renamed.
getter/setter pair
- offset ↔ int
-
The offset to the beginning of the name selected to be renamed, or -1 if
the name does not exist yet.
getter/setter pair
- oldName ↔ String
-
The old name of the element before the refactoring.
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