BluetoothCharacteristic.fromProto constructor

BluetoothCharacteristic.fromProto(
  1. BmBluetoothCharacteristic p
)

Implementation

BluetoothCharacteristic.fromProto(BmBluetoothCharacteristic p)
    : remoteId = p.remoteId,
      serviceUuid = p.serviceUuid,
      secondaryServiceUuid = p.secondaryServiceUuid != null ? p.secondaryServiceUuid! : null,
      characteristicUuid = p.characteristicUuid;