incoming property

  1. @override
P2PStream<Uint8List> get incoming
override

Returns a Dart Stream of the incoming data

Implementation

@override
P2PStream<Uint8List> get incoming {
  // This is problematic as P2PStream expects a P2PStream, not a raw Stream.
  // For now, returning a self-reference might be the closest, though not ideal.
  // Proper implementation would require a separate wrapper or different design.
  _log.warning('$_logPrefix incoming getter called, returning self. This might not be the intended use.');
  return this;
  // throw UnimplementedError('incoming getter is not properly implemented for direct P2PStream conversion');
}