notifyChange method

  1. @override
  2. @Deprecated("Use [NotificationService.notify]")
Future<String?> notifyChange(
  1. NotificationParams notificationParams
)
override

Implementation

@override

///[Deprecated] Use [NotificationService.notify]
@Deprecated("Use [NotificationService.notify]")
Future<String?> notifyChange(NotificationParams notificationParams) async {
  NotificationResult result =
      await notificationService.notify(notificationParams);
  if (result.atClientException != null) {
    throw result.atClientException!;
  }
  return result.notificationID;
}