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

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