UserOperationV0_7 constructor
UserOperationV0_7({})
Implementation
factory UserOperationV0_7({
$core.String? entryPoint,
$core.String? factory,
$core.List<$core.int>? factoryData,
$core.String? sender,
$core.List<$core.int>? preVerificationGas,
$core.List<$core.int>? verificationGasLimit,
$core.String? paymaster,
$core.List<$core.int>? paymasterVerificationGasLimit,
$core.List<$core.int>? paymasterPostOpGasLimit,
$core.List<$core.int>? paymasterData,
}) {
final $result = create();
if (entryPoint != null) {
$result.entryPoint = entryPoint;
}
if (factory != null) {
$result.factory = factory;
}
if (factoryData != null) {
$result.factoryData = factoryData;
}
if (sender != null) {
$result.sender = sender;
}
if (preVerificationGas != null) {
$result.preVerificationGas = preVerificationGas;
}
if (verificationGasLimit != null) {
$result.verificationGasLimit = verificationGasLimit;
}
if (paymaster != null) {
$result.paymaster = paymaster;
}
if (paymasterVerificationGasLimit != null) {
$result.paymasterVerificationGasLimit = paymasterVerificationGasLimit;
}
if (paymasterPostOpGasLimit != null) {
$result.paymasterPostOpGasLimit = paymasterPostOpGasLimit;
}
if (paymasterData != null) {
$result.paymasterData = paymasterData;
}
return $result;
}