sendGroupInviteApplications method

Future<Map> sendGroupInviteApplications(
  1. dynamic userIDs,
  2. String groupID,
  3. dynamic config
)

Implementation

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

  return jsObjectToMap(result);
}