copyWith method

SetOperation copyWith({
  1. SetOperator? op,
  2. SetQuantifier? setQuantifier,
  3. SetExprRef? left,
  4. SetExprRef? right,
})

Returns a new instance by overriding the values passed as arguments

Implementation

SetOperation copyWith({
  SetOperator? op,
  SetQuantifier? setQuantifier,
  SetExprRef? left,
  SetExprRef? right,
}) =>
    SetOperation(
        op: op ?? this.op,
        setQuantifier: setQuantifier ?? this.setQuantifier,
        left: left ?? this.left,
        right: right ?? this.right);