notifications method
NotificationsBundle
notifications({
- String category = "",
- String categorydetail = "",
- List<
Notifications> ? cachedNotificationList, - dynamic onNotificationUpdated(
- List<
Notifications> updatedNotifications
- List<
- dynamic onTap()?,
- required dynamic profileFunction(),
Implementation
NotificationsBundle notifications({
String category = "",
String categorydetail = "",
List<Notifications>? cachedNotificationList,
Function(List<Notifications> updatedNotifications)? onNotificationUpdated,
Function(String category, String categorydetail, int categorydetailID)?
onTap,
required Function(int userID, String username) profileFunction,
}) {
return widgetNotificationsAll(
service,
profileFunction: profileFunction,
cachedNotificationList: cachedNotificationList,
category: category,
categorydetail: categorydetail,
onNotificationUpdated: onNotificationUpdated,
onTap: onTap,
);
}