BluetoothService.fromProto constructor
BluetoothService.fromProto()
Implementation
BluetoothService.fromProto(protos.BluetoothService p)
: uuid = new Guid(p.uuid),
deviceId = new DeviceIdentifier(p.remoteId),
isPrimary = p.isPrimary,
characteristics = p.characteristics
.map((c) => new BluetoothCharacteristic.fromProto(c))
.toList(),
includedServices = p.includedServices
.map((s) => new BluetoothService.fromProto(s))
.toList();