ChunksResponse constructor

ChunksResponse({
  1. AudioChunkInfo? info,
  2. AudioChunk? chunk,
})

Implementation

factory ChunksResponse({
  AudioChunkInfo? info,
  AudioChunk? chunk,
}) {
  final $result = create();
  if (info != null) {
    $result.info = info;
  }
  if (chunk != null) {
    $result.chunk = chunk;
  }
  return $result;
}