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