void addSlice()

in lib/src/string_accumulator_sink.dart [36:43]


  void addSlice(String str, int start, int end, bool isLast) {
    if (_isClosed) {
      throw StateError("Can't add to a closed sink.");
    }

    _buffer.write(str.substring(start, end));
    if (isLast) _isClosed = true;
  }