ErrorChunk constructor

ErrorChunk({
  1. ChunkType type = ChunkType.error,
  2. required String data,
})

Implementation

ErrorChunk({super.type = ChunkType.error, required this.data}) : super(data: data);