NotificationResponseModel constructor
NotificationResponseModel({
- required List<
NotificationModel> data, - 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,
});