RxString class
A reactive String
Properties
-
codeUnits
→ List<
int> -
See String.codeUnits
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
See String.isEmpty
no setter
- isNotEmpty → bool
-
See String.isNotEmpty
no setter
- length → int
-
See String.length
no setter
- runes → Runes
-
See String.runes
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
String> -
Stream of value changes
no setterinherited
- unregisteredValue → String
-
Read the current value without calling register
no setterinherited
- value ↔ String
-
The current value
getter/setter pairinherited
Methods
-
allMatches(
String string, [int start = 0]) → Iterable< Match> -
Matches this pattern against the string repeatedly.
override
-
codeUnitAt(
int index) → int - See String.codeUnitAt
-
compareTo(
String other) → int -
Compares this object to another object.
override
-
contains(
Pattern other, [int startIndex = 0]) → bool - See String.contains
-
endsWith(
String other) → bool - See String.endsWith
-
indexOf(
Pattern pattern, [int start = 0]) → int - See String.indexOf
-
lastIndexOf(
Pattern pattern, [int? start]) → int - See String.lastIndexOf
-
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
-
notify(
) → void -
Notify listeners with the current value
inherited
-
notifyWithValue(
String value) → void -
Notify listeners with the given value
inherited
-
padLeft(
int width, [String padding = ' ']) → String - See String.padLeft
-
padRight(
int width, [String padding = ' ']) → String - See String.padRight
-
register(
) → void -
Register with the current zone's RxRegistrar if it exists
inherited
-
replaceAll(
Pattern from, String replace) → String - See String.replaceAll
-
replaceAllMapped(
Pattern from, String replace(Match match)) → String - See String.replaceAllMapped
-
replaceFirst(
Pattern from, String to, [int startIndex = 0]) → String - See String.replaceFirst
-
replaceFirstMapped(
Pattern from, String replace(Match match), [int startIndex = 0]) → String - See String.replaceFirstMapped
-
replaceRange(
int start, int? end, String replacement) → String - See String.replaceRange
-
run(
RxAction action, {bool notify = true}) → bool -
Run
action
with registration and notifications disabled. Will notify afteraction
is completed ifnotify
is true and the child implementation decides a notification should be sent.inherited -
split(
Pattern pattern) → List< String> - See String.split
-
splitMapJoin(
Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) → String - See String.splitMapJoin
-
startsWith(
Pattern pattern, [int index = 0]) → bool - See String.startsWith
-
substring(
int start, [int? end]) → String - See String.substring
-
toLowerCase(
) → String - See String.toLowerCase
-
toString(
) → String -
A string representation of this object.
inherited
-
toUpperCase(
) → String - See String.toUpperCase
-
trim(
) → String - See String.trim
-
trimLeft(
) → String - See String.trimLeft
-
trimRight(
) → String - See String.trimRight
Operators
-
operator *(
int times) → String - See the String documentation
-
operator +(
String other) → String - See the String documentation
-
operator ==(
Object other) → bool -
Returns true if both RxValue values are equal
inherited
-
operator [](
int index) → String - See the String documentation