output method Null safety
- OutputEvent event
override
Implementation
@override
void output(OutputEvent event) {
if (buffer.length >= bufferSize) {
while (buffer.length >= bufferSize) {
buffer.removeFirst();
}
}
buffer.addAll([event]);
secondOutput?.output(event);
}