GetRxDecoratorInt class

/////////////////////////////////////////////////////////////////////////////

Inheritance

Constructors

GetRxDecoratorInt(int initial, {bool? forceRefresh, GetRxDecoratorSetter<int>? 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<int>?
Callback for adjust custom setter. oldValue parameter allows to apply specific algorithms, e.g. without newValue, 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<int>
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 int
Decorates getter.
getter/setter pairinherited

Methods

call([int? value, dynamic args]) int
Decorates .call(T? value) but with additional args parameter.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refresh() → void
inherited
toString() String
A string representation of this object.
inherited
withArgs(dynamic args) int
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 +(int add) GetRxDecoratorInt
Addition operator.
operator -(int sub) GetRxDecoratorInt
Subtraction operator.
operator ==(Object other) bool
The equality operator.
inherited