RPCUnSubscribe class
The unsubscribe command tells the server to stop sending messages for a particular subscription or set of subscriptions. WebSocket API only. See unsubscribe
- Inheritance
-
- Object
- LookupByLedgerRequest
- XRPLedgerRequest<
Map< String, dynamic> > - RPCUnSubscribe
Constructors
-
RPCUnSubscribe.new({List<
StreamParameter> ? streams, List<UnsubscribeBook> ? books, List<String> ? accounts, List<String> ? accountProposed})
Properties
-
accountProposed
→ List<
String> ? -
final
-
accounts
→ List<
String> ? -
final
-
books
→ List<
UnsubscribeBook> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ledgerIndex → XRPLLedgerIndex?
-
The ledger index for the lookup.
finalinherited
- method → String
-
The RPC method associated with the request.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
streams
→ List<
StreamParameter> ? -
final
- validate → String?
-
Gets the validation status for the request (default is null == params is valid).
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
Map< String, dynamic> result) → Map<String, dynamic> -
Handles the response received from the RPC call.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the request to JSON representation.
override
-
toRequest(
int requestId) → RPCRequestDetails -
Converts the request to an RPCRequestDetails object.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited