nextChar method

String? nextChar()

Implementation

String? nextChar() {
  final String? res = index < source.length ? source[index] : null;
  index++;
  return res;
}