Helper interface for metadata (Meta) management in the account system.
Manages Meta factories (by type) and provides core functionality for:
- Creating/generating entity metadata (core account information)
- Parsing raw metadata data into strongly-typed Meta instances
Meta contains the core cryptographic identity of an entity (public key, type, etc.).
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
-
createMeta(
String type, VerifyKey pKey, {String? seed, TransportableData? fingerprint}) → Meta - Creates custom entity metadata with specified parameters.
-
generateMeta(
String type, SignKey sKey, {String? seed}) → Meta - Generates entity metadata from a private signing key.
-
getMetaFactory(
String type) → MetaFactory? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseMeta(
Object? meta) → Meta? - Parses raw metadata data into a strongly-typed Meta instance.
-
setMetaFactory(
String type, MetaFactory factory) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited