CaseItem class Null safety

Represents a single case within a Case block.

Constructors

CaseItem(Logic value, List<Conditional> then)
Executes then when value matches.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
then List<Conditional>
A List of Conditionals to execute when value is matched.
final
value Logic
The value to match against.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited