startNotificationPolling method

Future<bool> startNotificationPolling({
  1. required String pollingUrl,
  2. int? intervalMinutes,
})

Start polling for notifications from a remote server.

This uses WorkManager for battery-efficient background tasks. Returns true if polling was started successfully.

Implementation

Future<bool> startNotificationPolling({
  required String pollingUrl,
  int? intervalMinutes,
}) {
  throw UnimplementedError(
    'startNotificationPolling() has not been implemented.',
  );
}