GetRxDecoratorString class

Inheritance
Implemented types

Constructors

GetRxDecoratorString(String initial, {bool? forceRefresh, GetRxDecoratorSetter<String>? 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<String>?
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<String>
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 String
Decorates getter.
getter/setter pairinherited

Methods

allMatches(String string, [int start = 0]) Iterable<Match>
Matches this pattern against the string repeatedly.
override
call([String? value, dynamic args]) String
Decorates .call(T? value) but with additional args parameter.
inherited
compareTo(String other) int
Compares this object to another object.
override
matchAsPrefix(String string, [int start = 0]) Match?
Matches this pattern against the start of string.
override
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) String
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 +(String add) GetRxDecoratorString
operator ==(Object other) bool
The equality operator.
inherited