decreaseGroupCounter method

  1. @override
Future<V2TimValueCallback<Map<String, int>>> decreaseGroupCounter({
  1. required String groupID,
  2. required String key,
  3. required int value,
})
override

Implementation

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