GeneratorApp.channel constructor

GeneratorApp.channel({
  1. required Stream<String> input,
  2. required StreamSink<String> output,
})

Implementation

factory GeneratorApp.channel({
  required Stream<String> input,
  required StreamSink<String> output,
}) {
  return GeneratorApp(Server(StreamChannel<String>(input, output)));
}