checkFriendsRelation method

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

Implementation

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

  return jsObjectToMap(result);
}