Profile class
Each tag entry should contain the key for the profile, a relay URL where events from that key can be found
(can be set to an empty string if not needed), and a local name (or "petname") for that profile (can also be set to an empty string or not provided),
i.e., "p", "32-bytes hex key", "main relay URL", "petname"
.
The content can be anything and should be ignored.
String key = "91cf9..4e5ca";
String relay = "wss://alicerelay.com/";
String petname = "alice";
var profile = Profile(key, relay, petname);
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key ↔ String
-
Each tag entry should contain the key for the profile,
getter/setter pair
- petname ↔ String
-
A local name (or "petname") for that profile (can also be set to an empty string or not provided)
getter/setter pair
- relay ↔ String
-
A relay URL where events from that key can be found (can be set to an empty string if not needed)
getter/setter pair
- 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