unsubscribes method

Future<int> unsubscribes(
  1. List<String> userIds,
  2. RCRTCMediaType type
)

Implementation

Future<int> unsubscribes(
  List<String> userIds,
  RCRTCMediaType type,
) async {
  Map<String, dynamic> arguments = {
    'ids': userIds,
    'type': type.index,
  };
  int code = await _channel.invokeMethod('unsubscribes', arguments) ?? -1;
  return code;
}