SigningInput constructor

SigningInput({
  1. String? contract,
  2. String? method,
  3. List<int>? ownerPrivateKey,
  4. String? toAddress,
  5. Int64? amount,
  6. List<int>? payerPrivateKey,
  7. Int64? gasPrice,
  8. Int64? gasLimit,
  9. String? queryAddress,
  10. int? nonce,
  11. String? ownerAddress,
  12. String? payerAddress,
})

Implementation

factory SigningInput({
  $core.String? contract,
  $core.String? method,
  $core.List<$core.int>? ownerPrivateKey,
  $core.String? toAddress,
  $fixnum.Int64? amount,
  $core.List<$core.int>? payerPrivateKey,
  $fixnum.Int64? gasPrice,
  $fixnum.Int64? gasLimit,
  $core.String? queryAddress,
  $core.int? nonce,
  $core.String? ownerAddress,
  $core.String? payerAddress,
}) {
  final result = create();
  if (contract != null) result.contract = contract;
  if (method != null) result.method = method;
  if (ownerPrivateKey != null) result.ownerPrivateKey = ownerPrivateKey;
  if (toAddress != null) result.toAddress = toAddress;
  if (amount != null) result.amount = amount;
  if (payerPrivateKey != null) result.payerPrivateKey = payerPrivateKey;
  if (gasPrice != null) result.gasPrice = gasPrice;
  if (gasLimit != null) result.gasLimit = gasLimit;
  if (queryAddress != null) result.queryAddress = queryAddress;
  if (nonce != null) result.nonce = nonce;
  if (ownerAddress != null) result.ownerAddress = ownerAddress;
  if (payerAddress != null) result.payerAddress = payerAddress;
  return result;
}