XChainCommit.fromJson constructor

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

Implementation

XChainCommit.fromJson(Map<String, dynamic> json)
    : xchainBridge = XChainBridge.fromJson(json["xchain_bridge"]),
      xchainClaimId = json["xchain_claim_id"],
      amount = parseBigInt(json["amount"])!,
      otherChainDestination = json["other_chain_destination"],
      super.json(json);