ReadMemoryResponse class

Response to readMemory request.

Inheritance

Constructors

ReadMemoryResponse({Object? body, required String command, String? message, required int requestSeq, required int seq, required bool success})
ReadMemoryResponse.fromMap(Map<String, Object?> obj)

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 type request 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 attribute message contains the error in short form and the body may contain additional information (see ErrorResponse.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

Static Methods

canParse(Object? obj) bool
override
fromJson(Map<String, Object?> obj) ReadMemoryResponse
override