You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
769 B
33 lines
769 B
class InboxMessage {
|
|
String? userID;
|
|
String? firstname;
|
|
String? surname;
|
|
String? messageID;
|
|
String? message;
|
|
String? thumbnail;
|
|
String? bio;
|
|
DateTime? timestamp;
|
|
int? unread;
|
|
|
|
InboxMessage(
|
|
{this.userID,
|
|
this.firstname,
|
|
this.surname,
|
|
this.messageID,
|
|
this.message,
|
|
this.thumbnail,
|
|
this.timestamp,
|
|
this.bio,
|
|
this.unread});
|
|
|
|
InboxMessage.fromJson(Map<dynamic, dynamic> json)
|
|
: userID = json['userID'],
|
|
firstname = json['firstname'],
|
|
surname = json['surname'],
|
|
thumbnail = json['thumbnail'],
|
|
messageID = json['messageID'],
|
|
message = json['message'],
|
|
timestamp = json['timestamp'],
|
|
bio = json['bio'],
|
|
unread = json['unread'];
|
|
}
|
|
|