searchLocalFriends method

Future<Map> searchLocalFriends(
  1. dynamic config
)

Implementation

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

  return jsObjectToMap(result);
}