rejectGroupJoinApplication method

Future<Map> rejectGroupJoinApplication(
  1. String userID,
  2. String groupID,
  3. dynamic config
)

Implementation

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

  return jsObjectToMap(result);
}