Chat Count Api / Chat Token Updates / Chat Call UI

merge-requests/57/head
Aamir Muhammad 3 years ago
parent 5d132206ba
commit 5913452a43

@ -50,7 +50,6 @@ class ChatProviderModel with ChangeNotifier, DiagnosticableTreeMixin {
{
"employeeNumber": int.parse(
AppState().memberInformationList!.eMPLOYEENUMBER.toString(),
//"210919"
),
"password": "FxIu26rWIKoF8n6mpbOmAjDLphzFGmpG"
},
@ -310,7 +309,6 @@ class ChatProviderModel with ChangeNotifier, DiagnosticableTreeMixin {
}
Future<void> onMsgReceived(List<Object?>? parameters) async {
print("msg Received");
List<SingleUserChatModel> data = [];
List<SingleUserChatModel> temp = [];
for (dynamic msg in parameters!) {
@ -328,7 +326,6 @@ class ChatProviderModel with ChangeNotifier, DiagnosticableTreeMixin {
// element.unreadMessageCount = val! + 1;
// }
// });
logger.d(jsonEncode(data));
var list = [
{

Loading…
Cancel
Save