rejectGroupInviteApplication method

Future<Map> rejectGroupInviteApplication(
  1. String inviterUserID,
  2. String groupID,
  3. dynamic config
)

Implementation

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

  return jsObjectToMap(result);
}