Revert "feat: Implement experimental new design"
This reverts commit 10cf8daf25c0ff50974c0439cf89fa6528510012
This commit is contained in:
parent
4fde7c9149
commit
dfe9741c39
18 changed files with 698 additions and 1232 deletions
|
|
@ -1,19 +0,0 @@
|
|||
class Status {
|
||||
static const String namespace = 'im.fluffychat.statuses';
|
||||
final String senderId;
|
||||
final String message;
|
||||
final DateTime dateTime;
|
||||
|
||||
Status(this.senderId, this.message, this.dateTime);
|
||||
|
||||
Status.fromJson(Map<String, dynamic> json)
|
||||
: senderId = json['sender_id'],
|
||||
message = json['message'],
|
||||
dateTime = DateTime.fromMillisecondsSinceEpoch(json['date_time']);
|
||||
|
||||
Map<String, dynamic> toJson() => <String, dynamic>{
|
||||
'sender_id': senderId,
|
||||
'message': message,
|
||||
'date_time': dateTime.millisecondsSinceEpoch,
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue