SwitchPatternCaseNode constructor
const
SwitchPatternCaseNode({
- List<
String> labels = const [], - List<
PatternNode> patterns = const [], - ExpressionNode? whenGuard,
- bool isDefault = false,
- required List<
StatementNode> statements,
Implementation
const new({
this.labels = const [],
this.patterns = const [],
this.whenGuard,
this.isDefault = false,
required this.statements,
});