clear property

void Function({bool lazy}) clear
getter/setter pair

Clears the items from the stream's list of items. If lazy is specified, it delays clearing the items until the next time it receives new items.

Implementation

late void Function({bool lazy}) clear;