append method
Implementation
ChatTextBudgetChunk append(String chunk) {
if (_finished) {
throw StateError('Cannot append after the text budget is finished.');
}
if (_omitted) return _emptyChunk();
return _consume(chunk, finish: false);
}
ChatTextBudgetChunk append(String chunk) {
if (_finished) {
throw StateError('Cannot append after the text budget is finished.');
}
if (_omitted) return _emptyChunk();
return _consume(chunk, finish: false);
}