resetTrackerOnStream method Null safety

Future<void> resetTrackerOnStream()

Implementation

Future<void> resetTrackerOnStream() async {
  ReceivePort receivePort = ReceivePort();

  _sendPort.send({
    "event": _VideoWorkerEvents.RESET_TRACKER_ON_STREAM,
    "sendPort": receivePort.sendPort,
  });

  await receivePort.first;
}