toData method

Implementation

CommonProposalArgs toData() {
  return CommonProposalArgs()
    ..content = content
    ..deposit_End_Time =
        TerraStringExtensions.getISOStringFromDate(deposit_end_time)
    ..final_tally_result = final_tally_result
    ..status = status
    ..submit_Time = TerraStringExtensions.getISOStringFromDate(submit_time)
    ..voting_End_Time =
        TerraStringExtensions.getISOStringFromDate(voting_end_time)
    ..voting_Start_Time =
        TerraStringExtensions.getISOStringFromDate(voting_start_time)
    ..total_Deposit = total_deposit
    ..id = id;
}