messageHub property

  1. @nonVirtual
MessageHub? get messageHub

Use this object to send data to applications running on other isolates.

Use this object to synchronize state across the isolates of an application. Any data sent through this object will be received by every other channel in your application (except the one that sent it).

Implementation

@nonVirtual
MessageHub? get messageHub => _messageHub;
  1. @internal
  2. @nonVirtual
set messageHub (MessageHub? messageHub)

Implementation

@internal
@nonVirtual
set messageHub(MessageHub? messageHub) {
  _messageHub = messageHub;
}