OpVariadic constructor

OpVariadic({
  1. OpVariadic_Op? op,
  2. Iterable<Expr>? operands,
})

Implementation

factory OpVariadic({
  OpVariadic_Op? op,
  $core.Iterable<Expr>? operands,
}) {
  final $result = create();
  if (op != null) {
    $result.op = op;
  }
  if (operands != null) {
    $result.operands.addAll(operands);
  }
  return $result;
}