discontinuedPackage analysis_server_client has been discontinued.

EditImportElementsParams class

edit.importElements params

{ "file": FilePath "elements": List

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

Constructors

EditImportElementsParams(String file, List<ImportedElements> elements, {int? offset})
EditImportElementsParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
EditImportElementsParams.fromRequest(Request request)
factory

Properties

elements ↔ List<ImportedElements>
The elements to be made accessible in the specified file.
getter/setter pair
file ↔ String
The file in which the specified elements are to be made accessible.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
offset ↔ int?
The offset at which the specified elements need to be made accessible. If provided, this is used to guard against adding imports for text that would be inserted into a comment, string literal, or other location where the imports would not be necessary.
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.
toRequest(String id) → 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