presentHyperStream method

void presentHyperStream(
  1. dynamic sData,
  2. dynamic sListen,
  3. String sReceiver
)

String? streamReceiver "hyperStream" makes it better

Implementation

void presentHyperStream(var sData, var sListen, String sReceiver) {
//  var data = streamData; // some sample data
  Stream stream = Stream.fromIterable(sData); // create the stream

  // subscribe to the streams events
  stream.listen((value) {
    //
    print('\n ---   presentHyperStream    ---');
    print("Hyper Received:   $value"); // onData handler
    print('Stream receiver:  $sReceiver');
    print('---            OK          --- \n ');
  });
  //Study it here:    stream.
}