withBasicAuth method

  1. @override
ProxyModel withBasicAuth(
  1. String username,
  2. String password
)
override

Creates a new ProxyModel with basic authentication

Implementation

@override
ProxyModel withBasicAuth(String username, String password) {
  return withAuth(ProxyAuth.basic(username: username, password: password));
}