On this page
RuneIterator class
Iterator for reading runes (integer Unicode code points) out of a Dart string.
- Implements
 
Constructors
- RuneIterator(String string)
 - 
    
Create an iterator positioned at the beginning of the string.
 - RuneIterator.at(String string, int index)
 - 
    
Create an iterator positioned before the
indexth code unit of the string. 
Properties
- current → int
    read-only
 - 
    
The rune (integer Unicode code point) starting at the current position in the string.
 - currentAsString → String
    read-only
 - 
    
A string containing the current rune.
 - currentSize → int
    read-only
 - 
    
The number of code units comprising the current rune.
 - rawIndex → int
    read / write
 - 
    
Returns the starting position of the current rune in the string.
 - string → String
    final
 - 
    
String being iterated.
 - hashCode → int
    read-only, inherited
 - 
    
The hash code for this object.
 - runtimeType → Type
    read-only, inherited
 - 
    
A representation of the runtime type of the object.
 
Operators
- operator ==(
other) → bool inherited - 
    
The equality operator.
 
Methods
- moveNext(
) → bool  - 
    
Moves to the next element.
 - movePrevious(
) → bool  - 
    
Move back to the previous element.
 - reset(
[int rawIndex = 0 ]) → void  - 
    
Resets the iterator to the given index into the string.
 - noSuchMethod(
Invocation invocation) → dynamic inherited - 
    
Invoked when a non-existent method or property is accessed.
 - toString(
) → String inherited - 
    
Returns a string representation of this object.
 
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
 https://api.dartlang.org/stable/1.24.3/dart-core/RuneIterator-class.html