readCharacteristic method

Future<List<int>> readCharacteristic(
  1. BluetoothCharacteristic characteristic
)

Read data from a Bluetooth characteristic

Implementation

Future<List<int>> readCharacteristic(
    BluetoothCharacteristic characteristic) async {
  return await characteristic.read();
}