NotificationModel class

Constructors

NotificationModel({int? id, int? userId, String? type, required String name, String? url, dynamic checkedDate, DateTime? createdAt, required DateTime updatedAt, required List<NotificationMessageModel> notificationMessages})
NotificationModel.fromJson(Map<String, dynamic> json)
factory

Properties

checkedDate ↔ dynamic
getter/setter pair
createdAt ↔ DateTime?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int?
getter/setter pair
name ↔ String
getter/setter pair
notificationMessages ↔ List<NotificationMessageModel>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
getter/setter pair
updatedAt ↔ DateTime
getter/setter pair
url ↔ String?
getter/setter pair
userId ↔ int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited