AssetCode.fromJson constructor

AssetCode.fromJson(
  1. String assetCode
)

A necessary factory constructor for creating a new AssetCode instance from a map. The constructor is named after the source class, in this case, AssetCode.

Implementation

factory AssetCode.fromJson(String assetCode) =>
    AssetCode.deserialize(assetCode);