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,
})

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,
}) {
  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;
  }
  return _result;
}