read method

Future<Uint8List> read({
  1. String? transactionId,
})

Reads the value of this characteristic.

The value can be read only if isReadable is true.

Implementation

Future<Uint8List> read({String? transactionId}) =>
    _manager.readCharacteristicForIdentifier(
      service.peripheral,
      this,
      transactionId ?? TransactionIdGenerator.getNextId(),
    );