PeerConnectionInfo constructor

PeerConnectionInfo({
  1. PeerConnectionType? type,
  2. String? remoteAddress,
  3. String? localAddress,
})

Implementation

factory PeerConnectionInfo({
  PeerConnectionType? type,
  $core.String? remoteAddress,
  $core.String? localAddress,
}) {
  final $result = create();
  if (type != null) {
    $result.type = type;
  }
  if (remoteAddress != null) {
    $result.remoteAddress = remoteAddress;
  }
  if (localAddress != null) {
    $result.localAddress = localAddress;
  }
  return $result;
}