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