ConditionalValue class

cond ? a : b, or a collection if. otherwise is null for an if without else.

Inheritance

Constructors

ConditionalValue(String condition, DartValue then, DartValue? otherwise, {String? source})
const

Properties

condition → String
final
hashCode → int
The hash code for this object.
no setterinherited
otherwise → DartValue?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String?
relative/path.dart:line of the expression.
finalinherited
then → DartValue
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
inherited

Operators

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