SigningInput constructor
SigningInput({
- List<
int> ? chainId, - List<
int> ? nonce, - TransactionMode? txMode,
- List<
int> ? gasPrice, - List<
int> ? gasLimit, - List<
int> ? maxInclusionFeePerGas, - List<
int> ? maxFeePerGas, - String? toAddress,
- List<
int> ? privateKey, - Transaction? transaction,
- UserOperation? userOperation,
- Iterable<
Access> ? accessList, - UserOperationV0_7? userOperationV07,
- Authorization? eip7702Authorization,
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,
$core.Iterable<Access>? accessList,
UserOperationV0_7? userOperationV07,
Authorization? eip7702Authorization,
}) {
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;
}
if (accessList != null) {
$result.accessList.addAll(accessList);
}
if (userOperationV07 != null) {
$result.userOperationV07 = userOperationV07;
}
if (eip7702Authorization != null) {
$result.eip7702Authorization = eip7702Authorization;
}
return $result;
}