actionRecyclingMyNameActionRecyclingPostWithHttpInfo method
Future<Response>
actionRecyclingMyNameActionRecyclingPostWithHttpInfo(
- String name,
- RecyclingSchema recyclingSchema
Action Recycling
Recycling an item. The character must be on a map with a workshop (only for equipments and weapons).
Note: This method returns the HTTP Response.
Parameters:
-
String name (required): Name of your character.
-
RecyclingSchema recyclingSchema (required):
Implementation
Future<Response> actionRecyclingMyNameActionRecyclingPostWithHttpInfo(
String name,
RecyclingSchema recyclingSchema,
) async {
// ignore: prefer_const_declarations
final path = r'/my/{name}/action/recycling'.replaceAll('{name}', name);
// ignore: prefer_final_locals
Object? postBody = recyclingSchema;
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,
);
}