RuneIterator constructor Null safety

RuneIterator(
  1. String string
)

Create an iterator positioned at the beginning of the string.

Implementation

RuneIterator(String string)
    : this.string = string,
      _position = 0,
      _nextPosition = 0;