close method

Future<void> close()

Closes the server sent event object.

Implementation

Future<void> close() async {
  _eventSource.close();
}