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