copy static method

Implementation

static IceCandidate copy(IceCandidate old) {
  return IceCandidate(
    component: old.component,
    foundation: old.foundation,
    ip: old.ip,
    port: old.port,
    priority: old.priority,
    protocol: old.protocol,
    tcpType: old.tcpType,
    type: old.type,
    generation: old.generation,
    raddr: old.raddr,
    rport: old.rport,
    transport: old.transport,
    networkId: old.networkId,
    networkCost: old.networkCost,
  );
}