SigningInput constructor

SigningInput({
  1. List<int>? privateKey,
  2. String? from,
  3. String? to,
  4. List<int>? amount,
  5. int? chainId,
  6. int? idassetsId,
  7. List<int>? nonce,
  8. String? remark,
  9. List<int>? balance,
  10. int? timestamp,
  11. String? feePayer,
  12. List<int>? feePayerNonce,
  13. List<int>? feePayerPrivateKey,
  14. List<int>? feePayerBalance,
})

Implementation

factory SigningInput({
  $core.List<$core.int>? privateKey,
  $core.String? from,
  $core.String? to,
  $core.List<$core.int>? amount,
  $core.int? chainId,
  $core.int? idassetsId,
  $core.List<$core.int>? nonce,
  $core.String? remark,
  $core.List<$core.int>? balance,
  $core.int? timestamp,
  $core.String? feePayer,
  $core.List<$core.int>? feePayerNonce,
  $core.List<$core.int>? feePayerPrivateKey,
  $core.List<$core.int>? feePayerBalance,
}) {
  final result = create();
  if (privateKey != null) result.privateKey = privateKey;
  if (from != null) result.from = from;
  if (to != null) result.to = to;
  if (amount != null) result.amount = amount;
  if (chainId != null) result.chainId = chainId;
  if (idassetsId != null) result.idassetsId = idassetsId;
  if (nonce != null) result.nonce = nonce;
  if (remark != null) result.remark = remark;
  if (balance != null) result.balance = balance;
  if (timestamp != null) result.timestamp = timestamp;
  if (feePayer != null) result.feePayer = feePayer;
  if (feePayerNonce != null) result.feePayerNonce = feePayerNonce;
  if (feePayerPrivateKey != null)
    result.feePayerPrivateKey = feePayerPrivateKey;
  if (feePayerBalance != null) result.feePayerBalance = feePayerBalance;
  return result;
}