SigningInput constructor
SigningInput({})
Implementation
factory SigningInput({
$core.List<$core.int>? chainId,
$core.List<$core.int>? nonce,
TransactionMode? txMode,
$core.List<$core.int>? gasPrice,
$core.List<$core.int>? gasLimit,
$core.List<$core.int>? maxInclusionFeePerGas,
$core.List<$core.int>? maxFeePerGas,
$core.String? toAddress,
$core.List<$core.int>? privateKey,
Transaction? transaction,
UserOperation? userOperation,
}) {
final _result = create();
if (chainId != null) {
_result.chainId = chainId;
}
if (nonce != null) {
_result.nonce = nonce;
}
if (txMode != null) {
_result.txMode = txMode;
}
if (gasPrice != null) {
_result.gasPrice = gasPrice;
}
if (gasLimit != null) {
_result.gasLimit = gasLimit;
}
if (maxInclusionFeePerGas != null) {
_result.maxInclusionFeePerGas = maxInclusionFeePerGas;
}
if (maxFeePerGas != null) {
_result.maxFeePerGas = maxFeePerGas;
}
if (toAddress != null) {
_result.toAddress = toAddress;
}
if (privateKey != null) {
_result.privateKey = privateKey;
}
if (transaction != null) {
_result.transaction = transaction;
}
if (userOperation != null) {
_result.userOperation = userOperation;
}
return _result;
}