createReceivePort function
Implementation
ReceivePort createReceivePort(Completer<Uint8List> c) {
final receivePort = ReceivePort()
..listen((data) {
c.complete(data);
});
return receivePort;
}
ReceivePort createReceivePort(Completer<Uint8List> c) {
final receivePort = ReceivePort()
..listen((data) {
c.complete(data);
});
return receivePort;
}