CompletionGetSuggestionDetailsParams class

completion.getSuggestionDetails params

{ "file": FilePath "id": int "label": String "offset": int }

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

Constructors

CompletionGetSuggestionDetailsParams(String file, int id, String label, int offset)
CompletionGetSuggestionDetailsParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
CompletionGetSuggestionDetailsParams.fromRequest(Request request)
factory

Properties

file String
The path of the file into which this completion is being inserted.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id int
The identifier of the AvailableSuggestionSet containing the selected label.
getter/setter pair
label String
The label from the AvailableSuggestionSet with the id for which insertion information is requested.
getter/setter pair
offset int
The offset in the file where the completion will be inserted.
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