take method

String? take([
  1. int count = 1
])

Implementation

String? take([int count = 1]) {
  final result = peek(count);
  _pos += count;
  return result;
}