RxString class
- Inheritance
-
- Object
- GetListenable<
String> - Rx<
String> - RxString
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- internalValue ↔ String
-
Unguarded accessor for subclasses — bypasses reportRead and the
equality guard so that mutations can be applied directly to the backing
value before routing through refresh.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
String> -
no setterinherited
- string → String
-
no setterinherited
-
subject
→ StreamController<
String> -
no setterinherited
- value ↔ String
-
The current value of the object.
getter/setter pairinherited
Methods
-
addError(
Object error, [StackTrace? stackTrace]) → void -
inherited
-
addListener(
GetStateUpdate listener) → Disposer -
Register a closure to be called when the object notifies its listeners.
inherited
-
close(
) → void -
inherited
-
containsListener(
GetStateUpdate listener) → bool -
inherited
-
listen(
void onData(String event), {Function? onError, void onDone()?, bool? cancelOnError}) → StreamSubscription< String> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyStream(
) → void -
Emits the current
_valueto the broadcast stream only if the stream controller already exists (i.e. a consumer called listen or accessed stream). Safe to call when no workers are active — it is a no-op in that case and avoids creating the controller unnecessarily.inherited -
refresh(
) → void -
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies.
inherited
-
reportAdd(
VoidCallback disposer) → void -
inherited
-
reportRead(
) → void -
inherited
-
toJson(
) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String fn(String? val)) → void -
inherited
-
updateSequential(
Future< String> action(String currentValue)) → Future<void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited