fromData static method

Implementation

static MsgConnectionOpenTry fromData(MsgConnectionOpenTryDataArgs data) {
  return MsgConnectionOpenTry(
      data.client_Id!,
      data.previous_Connection_Id!,
      data.client_State!,
      Counterparty.fromData(data.counterparty!),
      data.counterparty_Versions!.map((e) => Version.fromData(e)).toList(),
      double.parse(data.delay_Period!),
      Height.fromData(data.proof_Height!),
      data.proof_Init!,
      data.proof_Client!,
      data.proof_Consensus!,
      Height.fromData(data.consensus_Height!),
      data.signer!);
}