ConnectOptions class
Options for the connect function.
class ConnectOptions extends ChromeObject { ConnectOptions({BluetoothDevice device, Profile profile}) { if (device != null) this.device = device; if (profile != null) this.profile = profile; } ConnectOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); BluetoothDevice get device => _createDevice(jsProxy['device']); set device(BluetoothDevice value) => jsProxy['device'] = jsify(value); Profile get profile => _createProfile(jsProxy['profile']); set profile(Profile value) => jsProxy['profile'] = jsify(value); }
Extends
ChromeObject > ConnectOptions
Constructors
new ConnectOptions({BluetoothDevice device, Profile profile}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
ConnectOptions({BluetoothDevice device, Profile profile}) { if (device != null) this.device = device; if (profile != null) this.profile = profile; }
new ConnectOptions.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
ConnectOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
BluetoothDevice device #
BluetoothDevice get device => _createDevice(jsProxy['device']);
set device(BluetoothDevice value) => jsProxy['device'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();