StreamToken constructor

const StreamToken({
  1. required String text,
  2. bool isFinal = false,
  3. int? index,
})

Implementation

const StreamToken({
  required this.text,
  this.isFinal = false,
  this.index,
});