giveItemSandboxGiveItemPostWithHttpInfo method
Future<Response>
giveItemSandboxGiveItemPostWithHttpInfo(
- SandboxGiveItemSchema sandboxGiveItemSchema, {
- Future<
void> ? abortTrigger,
Give Item
Give item to one of your characters. This Sandbox feature is only available on the Sandbox server.
Note: This method returns the HTTP Response.
Parameters:
- SandboxGiveItemSchema sandboxGiveItemSchema (required):
Implementation
Future<Response> giveItemSandboxGiveItemPostWithHttpInfo(
SandboxGiveItemSchema sandboxGiveItemSchema, {
Future<void>? abortTrigger,
}) async {
// ignore: prefer_const_declarations
final path = r'/sandbox/give_item';
// ignore: prefer_final_locals
Object? postBody = sandboxGiveItemSchema;
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,
);
}