EvaluationMode class
Typesafe enum representing the evaluation mode a conditional should operate with.
- Annotations
-
- @immutable
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromCode(
String? code) → EvaluationMode? -
Returns the evaluation mode from the given code. If the
code
isnull
then this will returnnull
. Otherwise, if thecode
doesn't match a valid code then this will throw an exception rather than returning.
Constants
- and → const EvaluationMode
-
A mode that informs the evaluator to operate using an
and
based mechanism. - or → const EvaluationMode
-
A mode that informs the evaluator to operate using an
or
based mechanism.