socks5Link static method

Socks5Link socks5Link({
  1. required String server,
  2. required int port,
  3. String? username,
  4. String? password,
})

Creates a Socks5Link with the given server, port, username and password.

Implementation

static Socks5Link socks5Link({
  required String server,
  required int port,
  String? username,
  String? password,
}) {
  return Socks5Link(
    server: server,
    port: port,
    username: username,
    password: password,
  );
}