HeaderNameValuePair class
class HeaderNameValuePair extends ChromeObject { HeaderNameValuePair({String name, String value}) { if (name != null) this.name = name; if (value != null) this.value = value; } HeaderNameValuePair.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); String get name => jsProxy['name']; set name(String value) => jsProxy['name'] = value; String get value => jsProxy['value']; set value(String value) => jsProxy['value'] = value; }
Extends
ChromeObject > HeaderNameValuePair
Constructors
new HeaderNameValuePair({String name, String value}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
HeaderNameValuePair({String name, String value}) { if (name != null) this.name = name; if (value != null) this.value = value; }
new HeaderNameValuePair.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
HeaderNameValuePair.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
String name #
String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = value;
String value #
String get value => jsProxy['value'];
set value(String value) => jsProxy['value'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();