widgetProvider method

Widget widgetProvider(
  1. NotificationModel? value
)

Implementation

Widget widgetProvider(NotificationModel? value) {
  if (value != null) {
    return MyNotificationListItem(app: app, value: value);
  } else {
    return Text("Value for notification model is null");
  }
}