v1StudioProjectsProjectIdChaptersGet method

Future<Response<GetChaptersResponseModel>> v1StudioProjectsProjectIdChaptersGet({
  1. required String? projectId,
  2. String? xiApiKey,
})

List Chapters @param project_id The ID of the Studio project. @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<GetChaptersResponseModel>>
v1StudioProjectsProjectIdChaptersGet({
  required String? projectId,
  String? xiApiKey,
}) {
  generatedMapping.putIfAbsent(
    GetChaptersResponseModel,
    () => GetChaptersResponseModel.fromJsonFactory,
  );

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