TextChunk constructor

TextChunk({
  1. ChunkType type = ChunkType.text,
  2. required String data,
})

Implementation

TextChunk({super.type = ChunkType.text, required this.data}) : super(data: data);