GotoResponse class
Response to goto request. This is just an acknowledgement, so no body
field is required.
- Inheritance
-
- Object
- ProtocolMessage
- Response
- GotoResponse
Constructors
Properties
- body → Object?
-
Contains request result if success is true and error details if success is
false.
finalinherited
- command → String
-
The command requested.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Contains the raw error in short form if
successis false. This raw error might be interpreted by the client and is not shown in the UI. Some predefined values exist.finalinherited - requestSeq → int
-
Sequence number of the corresponding request.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seq → int
-
Sequence number of the message (also known as message ID). The
seqfor the first message sent by a client or debug adapter is 1, and for each subsequent message is 1 greater than the previous message sent by that actor.seqcan be used to order requests, responses, and events, and to associate requests with their corresponding responses. For protocol messages of typerequestthe sequence number can be used to cancel the request.finalinherited - success → bool
-
Outcome of the request.
If true, the request was successful and the
bodyattribute may contain the result of the request. If the value is false, the attributemessagecontains the error in short form and thebodymay contain additional information (seeErrorResponse.body.error).finalinherited - type → String
-
Message type.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited