extractText static method
Extract plain text from DOCX bytes.
Uses the docx_to_text package to parse OOXML and return text content.
Useful for reading user-uploaded DOCX files before sending to an LLM.
Implementation
static String extractText(Uint8List bytes) {
return docxToText(bytes);
}