close abstract method

  1. @override
FutureOr<void> close([
  1. Option<T> data
])
override

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]);