CompletionGetSuggestionDetails2Result class
completion.getSuggestionDetails2 result
{ "completion": String "change": SourceChange }
Clients may not extend, implement or mix-in this class.
Constructors
- CompletionGetSuggestionDetails2Result(String completion, SourceChange change)
- CompletionGetSuggestionDetails2Result.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
- CompletionGetSuggestionDetails2Result.fromResponse(Response response)
-
factory
Properties
- change ↔ SourceChange
-
A change for the client to apply to make the accepted completion
suggestion available. In most cases the change is to add a new import
directive to the file.
getter/setter pair
- completion ↔ String
-
The full text to insert, which possibly includes now an import prefix.
The client should insert this text, not the completion from the selected
CompletionSuggestion.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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.
-
toResponse(
String id) → Response -
Return a response whose result data is this object for the request with the
given
id
. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override