giveGoldSandboxGiveGoldPostWithHttpInfo method
Future<Response>
giveGoldSandboxGiveGoldPostWithHttpInfo(
- GiveGoldSchema giveGoldSchema, {
- Future<
void> ? abortTrigger,
Give Gold
Give gold to one of your characters. This Sandbox feature is only available on the Sandbox server.
Note: This method returns the HTTP Response.
Parameters:
- GiveGoldSchema giveGoldSchema (required):
Implementation
Future<Response> giveGoldSandboxGiveGoldPostWithHttpInfo(
GiveGoldSchema giveGoldSchema, {
Future<void>? abortTrigger,
}) async {
// ignore: prefer_const_declarations
final path = r'/sandbox/give_gold';
// ignore: prefer_final_locals
Object? postBody = giveGoldSchema;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
abortTrigger: abortTrigger,
);
}