fromData static method

Implementation

static ClientConsensusStates fromData(ClientConsensusStatesCommonArgs data) {
  return ClientConsensusStates(
      data.client_Id!,
      data.consensus_states!
          .map((e) => ConsensusStateWithHeight.fromData(e))
          .toList());
}