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