IsolateMessenger constructor

IsolateMessenger(
  1. Stream<Event> _fromIsolateStream,
  2. void _toIsolate(
    1. Event message
    )
)

Implementation

IsolateMessenger(this._fromIsolateStream, this._toIsolate) {
  _fromIsolateStream.listen((message) => _lastMessage = message);
}