implemented basic chat bubbles generated from a list.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import 'package:app/util/server.dart';
|
||||
import 'chat.dart';
|
||||
|
||||
class Conversation {
|
||||
int conversationID;
|
||||
List<Chat> chats = [];
|
||||
|
||||
Conversation(this.conversationID) {
|
||||
chats = Server().getConversationByID(conversationID);
|
||||
}
|
||||
|
||||
List<Chat> getChats() {
|
||||
return chats;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user