Little refactor
This commit is contained in:
@@ -41,7 +41,8 @@ class Message {
|
||||
} else {
|
||||
time = 0;
|
||||
}
|
||||
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
return Message(
|
||||
id:
|
||||
json['id']?.toString() ??
|
||||
@@ -115,7 +116,8 @@ class Message {
|
||||
|
||||
return hoursSinceCreation <= 24;
|
||||
}
|
||||
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'id': id,
|
||||
|
||||
Reference in New Issue
Block a user