Condition<T> class Null safety

A conditional value provider.

Provides the value when the condition is active. Compare conditions by setting either breakpoint or name values.

Constructors

Condition.equals({required String name, T? value, T? landscapeValue})
const
Condition.largerThan({int? breakpoint, String? name, T? value, T? landscapeValue})
const
Condition.smallerThan({int? breakpoint, String? name, T? value, T? landscapeValue})
const

Properties

breakpoint int?
final
condition Conditional?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
landscapeValue → T?
final
name String?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value → T?
final

Methods

copyWith({int? breakpoint, String? name, Conditional? condition, T? value, T? landscapeValue}) Condition
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sort(Condition a, Condition b) int
toString() String
A string representation of this object. [...]
override

Operators

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