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