EditGetRefactoringParams class

edit.getRefactoring params

{ "kind": RefactoringKind "file": FilePath "offset": int "length": int "validateOnly": bool "options": optional RefactoringOptions }

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

Constructors

EditGetRefactoringParams(RefactoringKind kind, String file, int offset, int length, bool validateOnly, {RefactoringOptions? options})
EditGetRefactoringParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json, {ClientUriConverter? clientUriConverter})
factory
EditGetRefactoringParams.fromRequest(Request request, {ClientUriConverter? clientUriConverter})
factory

Properties

file String
The file containing the code involved in the refactoring.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
kind RefactoringKind
The kind of refactoring to be performed.
getter/setter pair
length int
The length of the region involved in the refactoring.
getter/setter pair
offset int
The offset of the region involved in the refactoring.
getter/setter pair
options RefactoringOptions?
Data used to provide values provided by the user. The structure of the data is dependent on the kind of refactoring being performed. The data that is expected is documented in the section titled Refactorings, labeled as "Options". This field can be omitted if the refactoring does not require any options or if the values of those options are not known.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validateOnly bool
True if the client is only requesting that the values of the options be validated and no change be generated.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ClientUriConverter? clientUriConverter}) Map<String, Object>
Returns a JSON presentation of the object.
toRequest(String id, {ClientUriConverter? clientUriConverter}) Request
Return a request whose parameters are taken from this object and that has the given id.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override