SetPublisherResponse constructor

SetPublisherResponse({
  1. String? sdp,
  2. String? sessionId,
  3. bool? iceRestart,
  4. Error? error,
})

Implementation

factory SetPublisherResponse({
  $core.String? sdp,
  $core.String? sessionId,
  $core.bool? iceRestart,
  $0.Error? error,
}) {
  final $result = create();
  if (sdp != null) {
    $result.sdp = sdp;
  }
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  if (iceRestart != null) {
    $result.iceRestart = iceRestart;
  }
  if (error != null) {
    $result.error = error;
  }
  return $result;
}