endOfStream method

void endOfStream()

Send an end of stream event.

Implementation

void endOfStream() => _sink.close();