sendToParent method
void
sendToParent(
- S obj
Sends data to the parent isolate.
Implementation
void sendToParent(S obj) {
final payload = ChildIsolateData<S, R>(id: id, data: obj);
_sender.send(payload);
}