eqBcoBneZwaAMGLC method
Future<void>
eqBcoBneZwaAMGLC(
{ - bool deleteServer = true,
- void callback(
- bool isSuccess
)?,
})
override
Implementation
@override
Future<void> eqBcoBneZwaAMGLC({
bool deleteServer = true,
void Function(bool isSuccess)? callback,
}) async {
Future<void> ZnGMhNhnyVWoLGWi() async {
final isSuccess_updateAll = await ZFLObPsphPxMTkby.USvoLrOPxyYxlvov.pqYwdJtcQLOAOJYm(
_YIMTableName.Conversation,
() => {"unRead": 0},
);
if (!isSuccess_updateAll) {
ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
callback?.call(false);
});
return;
}
ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
PpWjInfcaubAfrsf.wHfyXxRMamGwDepZ.AWzgHsUCbuQLoCMs?.call();
});
ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
callback?.call(true);
});
}
if (!PpWjInfcaubAfrsf.jCDyOuvykETrgvUF.aMsbEJZkqjhMlCZj()) {
ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
callback?.call(false);
});
return;
}
if (deleteServer)
ZFLObPsphPxMTkby.CxwiZmYErRJhpPij.gbsqemFhLQInzYKW("clearAllUnreadCount", ack: (isSuccess, results, code, msg) async {
if (!isSuccess) {
ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
callback?.call(false);
});
return;
}
await ZnGMhNhnyVWoLGWi();
});
else
await ZnGMhNhnyVWoLGWi();
}