partyPromoteUser method
Implementation
Future<dynamic> partyPromoteUser(String userId, String partyId) async {
var response = await send(
method: "POST",
url:
"${Endpoints().fortniteParty}/parties/$partyId/members/$userId/promote",
body: {},
);
if (response.toString() != "null" && response.toString() != "") {
// Map<String, dynamic> json = jsonDecode(response);
return response;
} else {
return response;
}
}