mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-09-19 05:48:54 +00:00
Can update comments content
This commit is contained in:
@@ -13,4 +13,7 @@ class APIResponse {
|
||||
List<dynamic> getArray() => jsonDecode(this.content);
|
||||
|
||||
Map<String, dynamic> getObject() => jsonDecode(this.content);
|
||||
|
||||
/// Check if the request is successful or not
|
||||
bool get isOK => code == 200;
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@ class Comment implements LikeElement {
|
||||
final int userID;
|
||||
final int postID;
|
||||
final int timeSent;
|
||||
final String content;
|
||||
String content;
|
||||
final String imageURL;
|
||||
int likes;
|
||||
bool userLike;
|
||||
|
Reference in New Issue
Block a user