newRequestCount method
Implementation
int newRequestCount() {
int count = 0;
cachedMap[requestsKey]?.forEach((element) {
if (!element['isRead']) {
count++;
}
});
return count;
}
int newRequestCount() {
int count = 0;
cachedMap[requestsKey]?.forEach((element) {
if (!element['isRead']) {
count++;
}
});
return count;
}