AudioSender constructor

AudioSender({
  1. AudioMediaRequest? mediaRequest,
  2. Codec? codec,
})

Implementation

factory AudioSender({
  AudioMediaRequest? mediaRequest,
  $0.Codec? codec,
}) {
  final $result = create();
  if (mediaRequest != null) {
    $result.mediaRequest = mediaRequest;
  }
  if (codec != null) {
    $result.codec = codec;
  }
  return $result;
}