Dart Documentationchrome.webRequestAuthCredentialsWebRequest

AuthCredentialsWebRequest class

class AuthCredentialsWebRequest extends ChromeObject {
 AuthCredentialsWebRequest({String username, String password}) {
   if (username != null) this.username = username;
   if (password != null) this.password = password;
 }
 AuthCredentialsWebRequest.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 String get username => jsProxy['username'];
 set username(String value) => jsProxy['username'] = value;

 String get password => jsProxy['password'];
 set password(String value) => jsProxy['password'] = value;
}

Extends

ChromeObject > AuthCredentialsWebRequest

Constructors

new AuthCredentialsWebRequest({String username, String password}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
AuthCredentialsWebRequest({String username, String password}) {
 if (username != null) this.username = username;
 if (password != null) this.password = password;
}

new AuthCredentialsWebRequest.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
AuthCredentialsWebRequest.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String password #

String get password => jsProxy['password'];
set password(String value) => jsProxy['password'] = value;

String username #

String get username => jsProxy['username'];
set username(String value) => jsProxy['username'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();