parentChannel property

WorkerChannel? get parentChannel

WorkerChannel to communicate with the parent. In the main thread, this will be null.

Implementation

static WorkerChannel? get parentChannel => _instance?._parentChannel;