ICETrickle constructor

ICETrickle({
  1. PeerType? peerType,
  2. String? iceCandidate,
  3. String? sessionId,
})

Implementation

factory ICETrickle({
  PeerType? peerType,
  $core.String? iceCandidate,
  $core.String? sessionId,
}) {
  final $result = create();
  if (peerType != null) {
    $result.peerType = peerType;
  }
  if (iceCandidate != null) {
    $result.iceCandidate = iceCandidate;
  }
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  return $result;
}