read method

  1. @override
Future<Uint8List> read()
override

Implementation

@override
Future<Uint8List> read() async {
  final characteristic = await _getCharacteristic();
  return (await characteristic.readValue()).buffer.asUint8List();
}