receivePort property

Future<ReceivePort?> receivePort

Get the ReceivePort.

Implementation

static Future<ReceivePort?> get receivePort async {
  if (await isRunningService == false) return null;
  return _registerPort();
}