read method

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

Read a value from the characteristic

Implementation

@override
Future<Uint8List> read() async {
  return Uint8List(1)..add(2);
}