SignContractResponse constructor

SignContractResponse({
  1. String? tradeId,
  2. String? uid,
  3. Int64? currentDate,
  4. String? contractAsJson,
  5. List<int>? contractSignature,
  6. List<int>? encryptedPaymentAccountPayload,
})

Implementation

factory SignContractResponse({
  $core.String? tradeId,
  $core.String? uid,
  $fixnum.Int64? currentDate,
  $core.String? contractAsJson,
  $core.List<$core.int>? contractSignature,
  $core.List<$core.int>? encryptedPaymentAccountPayload,
}) {
  final $result = create();
  if (tradeId != null) {
    $result.tradeId = tradeId;
  }
  if (uid != null) {
    $result.uid = uid;
  }
  if (currentDate != null) {
    $result.currentDate = currentDate;
  }
  if (contractAsJson != null) {
    $result.contractAsJson = contractAsJson;
  }
  if (contractSignature != null) {
    $result.contractSignature = contractSignature;
  }
  if (encryptedPaymentAccountPayload != null) {
    $result.encryptedPaymentAccountPayload = encryptedPaymentAccountPayload;
  }
  return $result;
}