Dart Documentationchrome.bluetoothGetProfilesOptions

GetProfilesOptions class

Options for the getProfiles function.

class GetProfilesOptions extends ChromeObject {
 GetProfilesOptions({BluetoothDevice device}) {
   if (device != null) this.device = device;
 }
 GetProfilesOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 BluetoothDevice get device => _createDevice(jsProxy['device']);
 set device(BluetoothDevice value) => jsProxy['device'] = jsify(value);
}

Extends

ChromeObject > GetProfilesOptions

Constructors

new GetProfilesOptions({BluetoothDevice device}) #

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

docs inherited from ChromeObject
GetProfilesOptions({BluetoothDevice device}) {
 if (device != null) this.device = device;
}

new GetProfilesOptions.fromProxy(JsObject jsProxy) #

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

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

Properties

BluetoothDevice device #

BluetoothDevice get device => _createDevice(jsProxy['device']);
set device(BluetoothDevice value) => jsProxy['device'] = jsify(value);

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

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();