AssetName class
Represents an asset name.
- Implemented types
- Mixed-in types
Constructors
-
AssetName(List<
int> data) - Constructs an AssetName instance.
- AssetName.deserialize(CborBytesValue cbor)
-
Deserializes an AssetName instance from CBOR bytes value.
factory
- AssetName.fromHex(String assetNameHex)
-
Constructs an AssetName instance from a hexadecimal string.
factory
- AssetName.fromString(String assetName)
-
factory
Properties
Methods
-
compareTo(
AssetName other) → int -
Compares this object to another object.
override
-
copyWith(
{List< int> ? data}) → AssetName -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → List< int> -
Serializes the object to CBOR bytes.
inherited
-
serializeHex(
) → String -
Serializes the object to hexadecimal string.
inherited
-
toCbor(
) → CborObject -
Converts the object to a CBOR object.
override
-
toHex(
) → String - Converts the asset name to a hexadecimal string.
-
toJson(
) → String -
Converts the object to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override