publish static method

dynamic publish(
  1. dynamic message,
  2. dynamic data
)

Implementation

static publish(message, data) {
  Future.microtask(() {
    _deliver(message, data);
  });
}