SigningInput constructor

SigningInput({
  1. List<int>? nonce,
  2. List<int>? gasPrice,
  3. List<int>? gasLimit,
  4. String? toAddress,
  5. List<int>? amount,
  6. List<int>? payload,
  7. List<int>? privateKey,
  8. Int64? timestamp,
})

Implementation

factory SigningInput({
  $core.List<$core.int>? nonce,
  $core.List<$core.int>? gasPrice,
  $core.List<$core.int>? gasLimit,
  $core.String? toAddress,
  $core.List<$core.int>? amount,
  $core.List<$core.int>? payload,
  $core.List<$core.int>? privateKey,
  $fixnum.Int64? timestamp,
}) {
  final _result = create();
  if (nonce != null) {
    _result.nonce = nonce;
  }
  if (gasPrice != null) {
    _result.gasPrice = gasPrice;
  }
  if (gasLimit != null) {
    _result.gasLimit = gasLimit;
  }
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (payload != null) {
    _result.payload = payload;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  if (timestamp != null) {
    _result.timestamp = timestamp;
  }
  return _result;
}