startMonitor abstract method

Future<void> startMonitor(
  1. String privateKey,
  2. Function acceptStream, {
  3. String? regex,
})

Creates a monitor connection to atSign's cloud secondary server.Whenever a notification is created on the server, monitor receives the notification on the client. Optionally a regular expression and be passed to filter the notifications

Implementation

Future<void> startMonitor(String privateKey, Function acceptStream,
    {String? regex});