emitMessage method

void emitMessage(
  1. String message
)
inherited

Emits a message to the observer.

Implementation

void emitMessage(String message) {
  _observer?.dispatchEvent(
    MessageEvent(message, this),
  );
}