markAllSeen method
dynamic
markAllSeen()
Implementation
markAllSeen() async {
try {
final res = await ApiClient().markBellClicked(state["config"]);
if (res.statusCode == 200) {
updateNotifData({"unSeenCount": 0}, updateRerender: true);
} else {
print(
"SUPRSEND: api error marking all notifications seen ${res.statusCode}");
}
} catch (e) {
print("SUPRSEND: error marking all notifications seen ${e.toString()}");
}
}