updateAccountInfo method

Future updateAccountInfo(
  1. Map<String, dynamic> update
)

Update account info for the epic account.

Implementation

Future<dynamic> updateAccountInfo(Map<String, dynamic> update) async {
  return await _client.send(
    method: "PUT",
    url: "${Endpoints().accountMultiple}/${_client.accountId}",
    body: update,
    overrideToken: await createClientAccessToken(
      authClient: AuthClients().fortniteCNGameClient,
    ),
  );
}