setGroupCounters method
Implementation
@override
Future<V2TimValueCallback<Map<String, int>>> setGroupCounters({
required String groupID,
required Map<String, int> counters,
}) async {
Map<String, dynamic> param = {
"groupID": groupID,
"counters": counters,
};
var resp = V2TimValueCallback<Map<String, int>>.fromJson(
formatJson(
await _channel.invokeMethod(
"setGroupCounters",
buildGroupManagerParam(
param,
),
),
),
);
log("setGroupCounters", param, resp.toLogString());
return resp;
}