AssetName.fromString constructor

AssetName.fromString(
  1. String assetName
)

Implementation

factory AssetName.fromString(String assetName) {
  return AssetName(StringUtils.encode(assetName));
}