toData method

Implementation

ConsensusStateWithHeightCommonArgs toData() {
  return ConsensusStateWithHeightCommonArgs()
    ..height = height.toData()
    ..consensus_State = consensus_state;
}