newRequestCount method

int newRequestCount()

Implementation

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