subscribeUsersStatus method

Future<Map> subscribeUsersStatus(
  1. dynamic userIDs,
  2. dynamic config
)

Implementation

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