ChainLink class
ChainLink, generated from its schema.
Constructors
- ChainLink({required String id, required DigestMultibase digest})
-
const
-
ChainLink.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- digest → String
-
Multibase-encoded multihash over the RFC 8785 (JCS) canonicalization of the
previous document, so a gap, reorder, or removal in the chain is detectable. The
algorithm travels in the multihash rather than being fixed here.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The
idof the previouschat/messageTrust Task document in this conversation.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
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited