peek method

String? peek()

Implementation

String? peek() {
  return isAtEnd() ? null : source[current];
}