NotificationModel class

Constructors

NotificationModel({required int id, required String type, required String message, required bool read, required int time, required String sendName, int expire = 0, Map<String, dynamic>? notifiData})
NotificationModel.fromMap(dynamic map)
factory

Properties

expandableKey GlobalKey<State<StatefulWidget>>?
getter/setter pair
expanded bool
getter/setter pair
expire int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
inviteData ↔ dynamic
getter/setter pair
message String
getter/setter pair
notifiData Map<String, dynamic>?
getter/setter pair
read bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendName String
getter/setter pair
time int
getter/setter pair
type String
getter/setter pair

Methods

getTitle() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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