AssetIssueContractFrozenSupply.fromJson constructor

AssetIssueContractFrozenSupply.fromJson(
  1. Map<String, dynamic> json
)

Create a new AssetIssueContractFrozenSupply instance by parsing a JSON map.

Implementation

factory AssetIssueContractFrozenSupply.fromJson(Map<String, dynamic> json) {
  return AssetIssueContractFrozenSupply(
      frozenAmount: OnChainUtils.parseBigInt(
          value: json["frozen_amount"], name: "frozen_amount"),
      frozenDays: OnChainUtils.parseBigInt(
          value: json["frozen_days"], name: "frozen_days"));
}