BluetoothService.fromProto constructor

BluetoothService.fromProto(
  1. BmBluetoothService p
)

for internal use

Implementation

BluetoothService.fromProto(BmBluetoothService p)
    : remoteId = p.remoteId,
      primaryServiceUuid = p.primaryServiceUuid,
      serviceUuid = p.serviceUuid,
      characteristics = p.characteristics.map((c) => BluetoothCharacteristic.fromProto(c)).toList();