Nostr class

This class is responsible for handling the connection to all relays.

Implemented types

Constructors

Nostr()
This class is responsible for handling the connection to all relays.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
keysService NostrKeys
This class is responsible for generating key pairs and deriving public keys from private keys..
latefinal
relaysService NostrRelays
This class is responsible for all the relays related operations.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
utils NostrClientUtils
General utils to be used in a whole Nostr instance.
latefinal
utilsService NostrUtils
This class is responsible for handling some of the helper utils of the library.
latefinal

Methods

disableLogs() → void
This method will disable the logs of the library.
override
dispose() Future<bool>
Clears and frees all the resources used by this instance.
override
enableLogs() → void
This method will enable the logs of the library.
override
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

Static Properties

instance Nostr
This class is responsible for handling the connection to all relays.
no setter