AddressPointer class

A pointer to a Nostr address.

The AddressPointer class is used to store information about a Nostr address including an identifier, a public key, a kind, and a list of relays.

Constructors

AddressPointer({required String identifier, required String pubkey, required int kind, List<String>? relays})
Creates a new AddressPointer instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
The identifier for the address.
final
kind int
The kind of the address.
final
pubkey String
The public key associated with the address.
final
relays List<String>?
The list of relays associated with the address.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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