Nip10 class

This NIP describes how to use "e" and "p" tags in text events, especially those that are replies to other text events. It helps clients thread the replies into a tree rooted at the original event.

Constructors

Nip10()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

fromTags(List<List<String>> tags) Thread
{ "tags": [ "e", <kind_40_event_id>, <relay-url>, "root", "e", <kind_42_event_id>, <relay-url>, "reply", "p", <pubkey>, <relay-url>, ... ], ... }
rootTag(String eventId, String relay) ETag
toTags(Thread thread) List<List<String>>