subscribe method

Stream<AtNotification> subscribe({
  1. String? regex,
  2. bool shouldDecrypt = false,
})

Implementation

Stream<AtNotification> subscribe(
    {String? regex, bool shouldDecrypt = false}) {
  logger.info('Subscribing to notifications with regex: "$regex"');
  return atClient.notificationService.subscribe(
    regex: regex,
    shouldDecrypt: shouldDecrypt,
  );
}