stopNotifications method

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

Implementation

@override
Future<void> stopNotifications() async {
  await _getCharacteristic().stopNotify();
  await _subscription?.cancel();
}