deSerializeInboxMessages function
Implementation
InboxData deSerializeInboxMessages(dynamic messagesPayload) {
Map<String, dynamic> message = json.decode(messagesPayload);
return InboxData(message[PLATFORM], messagesJsonToList(message[MESSAGES]));
}