AssetMetadata class abstract
Off-chain metadata fetched from GitHub based on network. Mainnet: https://github.com/cardano-foundation/cardano-token-registry/ Testnet: https://github.com/input-output-hk/metadata-registry-testnet/
Properties:
- Annotations
-
- @BuiltValue()
Constructors
- AssetMetadata([void updates(AssetMetadataBuilder b)])
-
factory
Properties
- decimals → int?
-
Number of decimal places of the asset unit
no setter
- description → String
-
Asset description
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- logo → String?
-
Base64 encoded logo of the asset
no setter
- name → String
-
Asset name
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ticker → String?
-
no setter
- url → String?
-
Asset website
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(AssetMetadataBuilder)) → AssetMetadata -
Rebuilds the instance.
inherited
-
toBuilder(
) → AssetMetadataBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
AssetMetadata> -
no setter