Expr constructor
Expr({})
Implementation
factory Expr({
Expr_Path? path,
$0.Value? value,
Expr_Kind? kind,
Eval? eval,
Scalar? scalar,
Ref? ref,
Obj? obj,
Arr? arr,
Json? json,
Iter? iter,
Elem? elem,
Call? call,
Cases? cases,
OpUnary? opUnary,
OpBinary? opBinary,
OpVariadic? opVariadic,
}) {
final $result = create();
if (path != null) {
$result.path = path;
}
if (value != null) {
$result.value = value;
}
if (kind != null) {
$result.kind = kind;
}
if (eval != null) {
$result.eval = eval;
}
if (scalar != null) {
$result.scalar = scalar;
}
if (ref != null) {
$result.ref = ref;
}
if (obj != null) {
$result.obj = obj;
}
if (arr != null) {
$result.arr = arr;
}
if (json != null) {
$result.json = json;
}
if (iter != null) {
$result.iter = iter;
}
if (elem != null) {
$result.elem = elem;
}
if (call != null) {
$result.call = call;
}
if (cases != null) {
$result.cases = cases;
}
if (opUnary != null) {
$result.opUnary = opUnary;
}
if (opBinary != null) {
$result.opBinary = opBinary;
}
if (opVariadic != null) {
$result.opVariadic = opVariadic;
}
return $result;
}