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;
}