GetRxDecoratorBool class
- Inheritance
-
- Object
- GetRxDecorator<
bool> - GetRxDecoratorBool
Constructors
-
GetRxDecoratorBool(bool initial, {bool? forceRefresh, GetRxDecoratorSetter<
bool> ? setter})
Properties
- forceRefresh → bool?
-
Force auto refresh.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setter
→ GetRxDecoratorSetter<
bool> ? -
Callback for adjust custom setter.
oldValue
parameter allows to apply specific algorithms, e.g. withoutnewValue
, like a Collatz conjecture (see tests). withArgs parameter allows using additional arguments in algorithms, e.g. type or instance of variable's sender or something (see tests).finalinherited -
stream
→ Stream<
bool> -
Decorates .obs inner stream.
no setterinherited
- string → String
-
Same as
toString()
but using a getter.no setterinherited - stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - value ↔ bool
-
Decorates getter.
getter/setter pairinherited
Methods
-
call(
[bool? value, dynamic args]) → bool -
Decorates .call(
T? value
) but with additionalargs
parameter.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → void -
inherited
-
toggle(
) → GetRxDecoratorBool -
toString(
) → String -
A string representation of this object.
inherited
-
withArgs(
dynamic args) → bool -
Additional setter in cases when no need to change value itself.
For example, when every call changes inner value only depending
on external arguments (see Collatz conjecture setter test)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited