InboxCounter constructor
InboxCounter(
- Map map
Construcotr of Inbox Counters
Param Map
Implementation
InboxCounter(Map map) {
map.forEach((key, value) {
if (key == CLICK) click = int.parse(value.toString());
if (key == SENT) sent = int.parse(value.toString());
if (key == DELETED) deleted = int.parse(value.toString());
if (key == UNREAD) unread = Unread(value);
});
}