Dart Documentationchrome.bluetoothServiceRecord

ServiceRecord class

class ServiceRecord extends ChromeObject {
 ServiceRecord({String name, String uuid}) {
   if (name != null) this.name = name;
   if (uuid != null) this.uuid = uuid;
 }
 ServiceRecord.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

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

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

Extends

ChromeObject > ServiceRecord

Constructors

new ServiceRecord({String name, String uuid}) #

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

docs inherited from ChromeObject
ServiceRecord({String name, String uuid}) {
 if (name != null) this.name = name;
 if (uuid != null) this.uuid = uuid;
}

new ServiceRecord.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String name #

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

String uuid #

String get uuid => jsProxy['uuid'];
set uuid(String value) => jsProxy['uuid'] = 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();