Request class

Used to request events and subscribe to new updates.

Constructors

Request(String subscriptionId, List<Filter> filters)
Request.deserialize(dynamic input)
Deserialize a nostr request message

Properties

filters List<Filter>
filters is a JSON object that determines what events will be sent in that subscription
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionId String
subscription_id is a random string that should be used to represent a subscription.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() String
Serialize to nostr request message
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited