NotificationResponseModel constructor

NotificationResponseModel({
  1. required List<NotificationModel> data,
  2. MetaData? meta,
})

Creates a new instance of the NotificationResponseModel class.

The data parameter is required and represents the list of notification data. The meta parameter is optional and represents additional metadata associated with the response.

Implementation

NotificationResponseModel({
  required this.data,
  this.meta,
});