iterator property Null safety

CharacterRange iterator
override

Iterator over the characters of this string.

Returns CharacterRange positioned before the first character of this Characters.

Allows iterating the characters of string as a plain iterator, using CharacterRange.moveNext, as well as controlling the iteration in more detail.

Implementation

@override
CharacterRange get iterator;