ExtractLocalVariableFeedback class

extractLocalVariable feedback

{ "coveringExpressionOffsets": optional List

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

Inheritance

Constructors

ExtractLocalVariableFeedback(List<String> names, List<int> offsets, List<int> lengths, {List<int>? coveringExpressionOffsets, List<int>? coveringExpressionLengths})
ExtractLocalVariableFeedback.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

coveringExpressionLengths List<int>?
The lengths of the expressions that cover the specified selection, from the down most to the up most.
getter/setter pair
coveringExpressionOffsets List<int>?
The offsets of the expressions that cover the specified selection, from the down most to the up most.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
lengths List<int>
The lengths of the expressions that would be replaced by a reference to the variable. The lengths correspond to the offsets. In other words, for a given expression, if the offset of that expression is offsetsi, then the length of that expression is lengthsi.
getter/setter pair
names List<String>
The proposed names for the local variable.
getter/setter pair
offsets List<int>
The offsets of the expressions that would be replaced by a reference to the variable.
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