BinaryValue class
Arithmetic that can't be folded statically, e.g.
MediaQuery.of(context).size.height * .4: the compiler evaluates it once
it knows more (like the screen size).
Constructors
- BinaryValue(String operator, DartValue left, DartValue right, {String? source})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → DartValue
-
final
- operator → String
-
+,-,*,/or~/.final - right → DartValue
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String?
-
relative/path.dart:lineof the expression.finalinherited
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