doBackground method
Implementation
@override
Future<V2TimCallback> doBackground({
required int unreadCount,
}) async {
Map<String, dynamic> param = {
"ability": Utils.getAbility(),
"unreadCount": unreadCount,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"doBackground",
buildOfflinePushParam(
param,
),
),
),
);
log("doBackground", param, resp.toLogString());
return resp;
}