BluetoothService.fromProto constructor
BluetoothService.fromProto()
Implementation
BluetoothService.fromProto(BmBluetoothService p)
: remoteId = p.remoteId,
serviceUuid = p.serviceUuid,
isPrimary = p.isPrimary,
characteristics = p.characteristics
.map((c) => BluetoothCharacteristic.fromProto(c))
.toList(),
includedServices = p.includedServices
.map((s) => BluetoothService.fromProto(s))
.toList();