NotificationResponseModel class
The NotificationResponseModel
class represents a response model for notifications.
It contains a list of NotificationModel
objects and an optional MetaData
object.
Constructors
-
NotificationResponseModel({required List<
NotificationModel> data, MetaData? meta}) -
Creates a new instance of the
NotificationResponseModel
class. -
NotificationResponseModel.fromJson(Map<
String, dynamic> json) -
Creates a new instance of the
NotificationResponseModel
class from a JSON map.factory
Properties
-
data
→ List<
NotificationModel> -
The list of notification data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- meta → MetaData?
-
Additional metadata associated with the notification response (optional).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited