Filter class
filter is a JSON object that determines what events will be sent in that subscription
Constructors
Properties
-
a
↔ List<
String> ? -
a list of event ids that are referenced in an "a" tag
getter/setter pair
-
a list of pubkeys or prefixes, the pubkey of an event must be one of these
getter/setter pair
-
e
↔ List<
String> ? -
a list of event ids that are referenced in an "e" tag
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ids
↔ List<
String> ? -
a list of event ids or prefixes
getter/setter pair
-
kinds
↔ List<
int> ? -
a list of a kind numbers
getter/setter pair
- limit ↔ int?
-
maximum number of events to be returned in the initial query
getter/setter pair
-
p
↔ List<
String> ? -
a list of pubkeys that are referenced in a "p" tag
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search ↔ String?
-
nip-50 search term
getter/setter pair
- since ↔ int?
-
a timestamp, events must be newer than this to pass
getter/setter pair
- until ↔ int?
-
a timestamp, events must be older than this to pass
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a filter in JSON
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited