v1StudioProjectsProjectIdChaptersChapterIdPost method

Future<Response<EditChapterResponseModel>> v1StudioProjectsProjectIdChaptersChapterIdPost({
  1. required String? projectId,
  2. required String? chapterId,
  3. String? xiApiKey,
  4. required BodyUpdateChapterV1StudioProjectsProjectIdChaptersChapterIdPost? body,
})

Update Chapter @param project_id The ID of the Studio project. @param chapter_id The ID of the chapter. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Implementation

Future<chopper.Response<EditChapterResponseModel>>
v1StudioProjectsProjectIdChaptersChapterIdPost({
  required String? projectId,
  required String? chapterId,
  String? xiApiKey,
  required BodyUpdateChapterV1StudioProjectsProjectIdChaptersChapterIdPost?
  body,
}) {
  generatedMapping.putIfAbsent(
    EditChapterResponseModel,
    () => EditChapterResponseModel.fromJsonFactory,
  );

  return _v1StudioProjectsProjectIdChaptersChapterIdPost(
    projectId: projectId,
    chapterId: chapterId,
    xiApiKey: xiApiKey?.toString(),
    body: body,
  );
}