Tokenizer constructor

Tokenizer(
  1. Set<String> separators, {
  2. bool emitSeparators = true,
})

Implementation

Tokenizer(this.separators, {this.emitSeparators = true}) {
  transformer = StreamTransformer.fromHandlers(
    handleData: handleData,
    handleDone: handleDone,
    handleError: handleError,
  );
}