getReadNotificationCount method

Future<int?> getReadNotificationCount()

Implementation

Future<int?> getReadNotificationCount() async {
  var readNotificationCount = 0;
  try{
    if(!kIsWeb){
      readNotificationCount = await RefluttersdkPlatform.instance
          .getReadNotificationCount() as int;
    }
  }catch(e){
    debugPrint("$e");
  }
  return readNotificationCount;
}