close method

void close()

Closes the event emitter, which closes all the listeners in the process.

Implementation

void close() => controller.close();