subscribe abstract method

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

Gives back stream of notifications from the server to the subscribing client.

Optionally pass a regex to filter notification keys matching the regex.

Optionally set shouldDecrypt to true to return the original value in the AtNotification Defaulted to false to preserve the backward compatibility.

Implementation

Stream<AtNotification> subscribe({String? regex, bool shouldDecrypt});