PlayStreamRequest constructor

PlayStreamRequest({
  1. PlayStreamInit? init,
  2. PlayStreamChunk? audioChunk,
})

Implementation

factory PlayStreamRequest({
  PlayStreamInit? init,
  PlayStreamChunk? audioChunk,
}) {
  final $result = create();
  if (init != null) {
    $result.init = init;
  }
  if (audioChunk != null) {
    $result.audioChunk = audioChunk;
  }
  return $result;
}