v1StudioProjectsProjectIdChaptersChapterIdGet method

Future<Response<ChapterWithContentResponseModel>> v1StudioProjectsProjectIdChaptersChapterIdGet({
  1. required String? projectId,
  2. required String? chapterId,
  3. String? xiApiKey,
})

Get 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<ChapterWithContentResponseModel>>
v1StudioProjectsProjectIdChaptersChapterIdGet({
  required String? projectId,
  required String? chapterId,
  String? xiApiKey,
}) {
  generatedMapping.putIfAbsent(
    ChapterWithContentResponseModel,
    () => ChapterWithContentResponseModel.fromJsonFactory,
  );

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