addUsersToBlacklist method

Future<Map> addUsersToBlacklist(
  1. dynamic userIDs
)

Implementation

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

  return jsObjectToMap(result);
}