destroy method Null safety

void destroy()

Destroy this EventBus. This is generally only in a testing context.

Implementation

void destroy() {
  _streamController.close();
}