kickGroupMembers method

Future<Map> kickGroupMembers(
  1. dynamic userIDs,
  2. String groupID
)

Implementation

Future<Map<dynamic, dynamic>> kickGroupMembers(
    dynamic userIDs, String groupID) async {
  final result = await promiseToFuture(
          ZIM.getInstance()!.kickGroupMembers(userIDs, groupID))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}