fromArguments static method

PurchaseAssetInfo fromArguments(
  1. dynamic arguments
)

Implementation

static PurchaseAssetInfo fromArguments(dynamic arguments) {
  PurchaseAssetInfo assetInfo = PurchaseAssetInfo();
  assetInfo.address = arguments["address"];
  assetInfo.decimals = arguments["decimals"];
  assetInfo.name = arguments["name"];
  assetInfo.symbol = arguments["symbol"];
  assetInfo.type = arguments["type"];
  return assetInfo;
}