deSerializeInboxMessages function

InboxData deSerializeInboxMessages(
  1. dynamic messagesPayload
)

Implementation

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