SwitchPatternCaseNode constructor

const SwitchPatternCaseNode({
  1. List<String> labels = const [],
  2. List<PatternNode> patterns = const [],
  3. ExpressionNode? whenGuard,
  4. bool isDefault = false,
  5. required List<StatementNode> statements,
})

Implementation

const new({
  this.labels = const [],
  this.patterns = const [],
  this.whenGuard,
  this.isDefault = false,
  required this.statements,
});