startNotifications method

  1. @override
Future<void> startNotifications()
override

Implementation

@override
Future<void> startNotifications() async {
  _subscription = backend
      .subscribeToCharacteristic(_characteristic)
      .listen((data) => notifyData(Uint8List.fromList(data)));
}