AssetName.fromHex constructor

AssetName.fromHex(
  1. String assetNameHex
)

Constructs an AssetName instance from a hexadecimal string.

Implementation

factory AssetName.fromHex(String assetNameHex) {
  return AssetName(BytesUtils.fromHexString(assetNameHex));
}