Condition constructor
Condition({
- RequestExecution? request,
- ResponseExecution? response,
- String? function,
- EventExecution? event,
Implementation
factory Condition({
RequestExecution? request,
ResponseExecution? response,
$core.String? function,
EventExecution? event,
}) {
final $result = create();
if (request != null) {
$result.request = request;
}
if (response != null) {
$result.response = response;
}
if (function != null) {
$result.function = function;
}
if (event != null) {
$result.event = event;
}
return $result;
}