getGroupCounters method

  1. @override
Future<V2TimValueCallback<Map<String, int>>> getGroupCounters({
  1. required String groupID,
  2. required List<String> keys,
})
override

Implementation

@override
Future<V2TimValueCallback<Map<String, int>>> getGroupCounters({
  required String groupID,
  required List<String> keys,
}) async {
  return V2TimValueCallback<Map<String, int>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getGroupCounters",
        buildGroupManagerParam(
          {
            "groupID": groupID,
            "keys": keys,
          },
        ),
      ),
    ),
  );
}