close abstract method
Close the sink
Has an optional data
parameter if you want to close the OffsetIterator
with a final item.
Works the same as add, except the controller will be closed and no longer accept new data.
Implementation
@override
FutureOr<void> close([Option<T> data]);