DisconnectResponse class
Response to disconnect
request. This is just an acknowledgement, so no
body field is required.
- Inheritance
-
- Object
- ProtocolMessage
- Response
- DisconnectResponse
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
success
is 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
seq
for 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.seq
can be used to order requests, responses, and events, and to associate requests with their corresponding responses. For protocol messages of typerequest
the sequence number can be used to cancel the request.finalinherited - success → bool
-
Outcome of the request.
If true, the request was successful and the
body
attribute may contain the result of the request. If the value is false, the attributemessage
contains the error in short form and thebody
may 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