NotificationList constructor

NotificationList({
  1. Iterable<Notification>? notifications,
  2. String? cacheableCursor,
})

Implementation

factory NotificationList({
  $core.Iterable<Notification>? notifications,
  $core.String? cacheableCursor,
}) {
  final _result = create();
  if (notifications != null) {
    _result.notifications.addAll(notifications);
  }
  if (cacheableCursor != null) {
    _result.cacheableCursor = cacheableCursor;
  }
  return _result;
}