MintInfo.fromJson constructor

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

Implementation

factory MintInfo.fromJson(Map<String, dynamic> json) {
  return MintInfo(
      policyID: PolicyID.fromHex(json.keys.first),
      assets: MintAssets.fromJson(json.values.first));
}