SwitchPatternCaseNode class
A case group in a switch statement.
Constructors
-
SwitchPatternCaseNode({List<
String> labels = const [], List<PatternNode> patterns = const [], ExpressionNode? whenGuard, bool isDefault = false, required List<StatementNode> statements}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDefault → bool
-
final
-
labels
→ List<
String> -
final
-
patterns
→ List<
PatternNode> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statements
→ List<
StatementNode> -
final
- whenGuard → ExpressionNode?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited