close method
void
close()
This method will close the subscription of the subscriptionId that you passed to it.
You can use after calling the startEventsSubscription
method to close the subscription of the subscriptionId that you passed to it.
example:
Nostr.instance.relays.closeEventsSubscription("<subscriptionId>");
Implementation
void close() {
return Nostr.instance.relaysService.closeEventsSubscription(subscriptionId);
}