notifyAll method

Future<void> notifyAll(
  1. AtKey atkey,
  2. String value,
  3. List<String?> atsigns
)

notifies all the specified Atsigns about an update using the provided atkey, value, and atsigns

Implementation

Future<void> notifyAll(
    AtKey atkey, String value, List<String?> atsigns) async {
  for (var element in atsigns) {
    atkey.sharedWith = element;
    try {
      await atClientManager.atClient.notificationService.notify(
        NotificationParams.forUpdate(atkey, value: value),
      );
    } catch (e) {
      _logger.severe('error in SendEventNotification to $element: $e');
    }
  }
}