CascadeExpressionImpl constructor

CascadeExpressionImpl({
  1. required ExpressionImpl target,
  2. required List<ExpressionImpl> cascadeSections,
})

Initialize a newly created cascade expression. The list of cascadeSections must contain at least one element.

Implementation

CascadeExpressionImpl({
  required ExpressionImpl target,
  required List<ExpressionImpl> cascadeSections,
}) : _target = target {
  _becomeParentOf(_target);
  _cascadeSections._initialize(this, cascadeSections);
}