LabeledStatementImpl constructor

LabeledStatementImpl({
  1. required List<LabelImpl> labels,
  2. required StatementImpl statement,
})

Initialize a newly created labeled statement.

Implementation

LabeledStatementImpl({
  required List<LabelImpl> labels,
  required StatementImpl statement,
}) : _statement = statement {
  _labels._initialize(this, labels);
  _becomeParentOf(_statement);
}