From 1a04e7aaa7e7ad12987fe38f388d9c16111d701d Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Sat, 29 Jan 2022 13:55:47 +0330 Subject: [PATCH] model updates --- lib/models/comment/reply.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/models/comment/reply.dart b/lib/models/comment/reply.dart index 02ce66e..e2fb35d 100644 --- a/lib/models/comment/reply.dart +++ b/lib/models/comment/reply.dart @@ -2,7 +2,7 @@ import 'feedback.dart'; import 'user.dart'; class Reply { - final int id; + int id; final String text; final String createdAt; final bool liked; @@ -11,7 +11,7 @@ class Reply { final UserOverview user; final UserOverview toUser; - const Reply({ + Reply({ required this.id, required this.text, required this.createdAt,