CompletionGetSuggestionDetails2Params class

completion.getSuggestionDetails2 params

{ "file": FilePath "offset": int "completion": String "libraryUri": String }

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

Constructors

CompletionGetSuggestionDetails2Params(String file, int offset, String completion, String libraryUri)
CompletionGetSuggestionDetails2Params.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
CompletionGetSuggestionDetails2Params.fromRequest(Request request)
factory

Properties

completion String
The completion from the selected CompletionSuggestion. It could be a name of a class, or a name of a constructor in form "typeName.constructorName()", or an enumeration constant in form "enumName.constantName", etc.
getter/setter pair
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
libraryUri String
The URI of the library to import, so that the element referenced in the completion becomes accessible.
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