process method Null safety
- Context context
Implementation
Future<void> process(Context context) async {
ReceivePort receivePort = ReceivePort();
_sendPort.send({
"event": _ProcessingBlockEvents.PROCESS,
"sendPort": receivePort.sendPort,
"context": context._impl.address,
});
await receivePort.first;
}