SigningInput constructor

SigningInput({
  1. List<int>? privateKey,
  2. String? to,
  3. Int64? nonce,
  4. List<int>? value,
  5. Int64? gasLimit,
  6. List<int>? gasFeeCap,
  7. List<int>? gasPremium,
  8. List<int>? params,
  9. DerivationType? derivation,
})

Implementation

factory SigningInput({
  $core.List<$core.int>? privateKey,
  $core.String? to,
  $fixnum.Int64? nonce,
  $core.List<$core.int>? value,
  $fixnum.Int64? gasLimit,
  $core.List<$core.int>? gasFeeCap,
  $core.List<$core.int>? gasPremium,
  $core.List<$core.int>? params,
  DerivationType? derivation,
}) {
  final _result = create();
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  if (to != null) {
    _result.to = to;
  }
  if (nonce != null) {
    _result.nonce = nonce;
  }
  if (value != null) {
    _result.value = value;
  }
  if (gasLimit != null) {
    _result.gasLimit = gasLimit;
  }
  if (gasFeeCap != null) {
    _result.gasFeeCap = gasFeeCap;
  }
  if (gasPremium != null) {
    _result.gasPremium = gasPremium;
  }
  if (params != null) {
    _result.params = params;
  }
  if (derivation != null) {
    _result.derivation = derivation;
  }
  return _result;
}