getUnreadCountByProvider function
Implementation
int getUnreadCountByProvider(String providerId){
int _count = 0;
for (var item in ordersDataCache)
if (item.providerId == providerId)
if (!item.viewByProvider)
_count++;
return _count;
}