newClient function

Client newClient(
  1. String uri, {
  2. String user = '',
  3. String password = '',
  4. bool debug = false,
})

create new client

Implementation

Client newClient(String uri,
    {String user = '', String password = '', bool debug = false}) {
  return Client(
    uri: fixSlash(uri),
    c: WdDio(debug: debug),
    auth: Auth(user: user, pwd: password),
    debug: debug,
  );
}