setupNotification method

  1. @override
Future<bool> setupNotification({
  1. required String characteristicUuid,
})
override

Implementation

@override
Future<bool> setupNotification({required String characteristicUuid}) async {
  final state = await methodChannel
      .invokeMethod("setupNotification", {"characteristicUuid": characteristicUuid}).recoverBTException();
  return state as bool? ?? false;
}