NdkResponse class

Represents a response from a Nostr Development Kit (NDK) request.

Constructors

NdkResponse(String requestId, Stream<Nip01Event> stream)

Properties

future Future<List<Nip01Event>>
A future that resolves to a list of all Nip01Event objects once the request is complete (EOSE rcv).
no setter
hashCode int
The hash code for this object.
no setterinherited
requestId String
The unique identifier for the request that generated this response.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<Nip01Event>
A stream of Nip01Event objects returned by the request.
final

Methods

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

Operators

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