SigningInput constructor

SigningInput({
  1. int? version,
  2. Int64? nonce,
  3. String? to,
  4. List<int>? gasPrice,
  5. Int64? gasLimit,
  6. List<int>? privateKey,
  7. Transaction? transaction,
})

Implementation

factory SigningInput({
  $core.int? version,
  $fixnum.Int64? nonce,
  $core.String? to,
  $core.List<$core.int>? gasPrice,
  $fixnum.Int64? gasLimit,
  $core.List<$core.int>? privateKey,
  Transaction? transaction,
}) {
  final $result = create();
  if (version != null) {
    $result.version = version;
  }
  if (nonce != null) {
    $result.nonce = nonce;
  }
  if (to != null) {
    $result.to = to;
  }
  if (gasPrice != null) {
    $result.gasPrice = gasPrice;
  }
  if (gasLimit != null) {
    $result.gasLimit = gasLimit;
  }
  if (privateKey != null) {
    $result.privateKey = privateKey;
  }
  if (transaction != null) {
    $result.transaction = transaction;
  }
  return $result;
}