isDoneSentinel property
True when this event is the OpenAI [DONE] sentinel.
Implementation
bool get isDoneSentinel => data.trim() == '[DONE]';
True when this event is the OpenAI [DONE] sentinel.
bool get isDoneSentinel => data.trim() == '[DONE]';