unsubscribe method

Future<void> unsubscribe(
  1. {required List<String> members}

Unsubscribes from a user's presence states.

Param members The array of IDs of users whose presence states you want to unsubscribe from.

Throws A description of the exception. See ChatError.


Future<void> unsubscribe({
  required List<String> members,
}) async {
  Map req = {'members': members};
  Map result =
      await _channel.invokeMethod(ChatMethodKeys.presenceUnsubscribe, req);
  try {
  } on ChatError catch (e) {
    throw e;