Request class

A client or debug adapter initiated request.

Inheritance

Constructors

Request({Object? arguments, required String command, required int seq})
Request.fromMap(Map<String, Object?> obj)

Properties

arguments Object?
Object containing arguments for the command.
final
command String
The command to execute.
final
hashCode int
The hash code for this object.
no setterinherited
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
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) Request
override