actionEquipItemMyNameActionEquipPostWithHttpInfo method

Future<Response> actionEquipItemMyNameActionEquipPostWithHttpInfo(
  1. String name,
  2. EquipSchema equipSchema
)

Action Equip Item

Equip an item on your character.

Note: This method returns the HTTP Response.

Parameters:

  • String name (required): Name of your character.

  • EquipSchema equipSchema (required):

Implementation

Future<Response> actionEquipItemMyNameActionEquipPostWithHttpInfo(String name, EquipSchema equipSchema,) async {
  // ignore: prefer_const_declarations
  final path = r'/my/{name}/action/equip'
    .replaceAll('{name}', name);

  // ignore: prefer_final_locals
  Object? postBody = equipSchema;

  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,
  );
}