v1StudioProjectsProjectIdChaptersPost method
Future<Response<AddChapterResponseModel> >
v1StudioProjectsProjectIdChaptersPost({
- required String? projectId,
- String? xiApiKey,
- required BodyCreateChapterV1StudioProjectsProjectIdChaptersPost? body,
Create Chapter @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<AddChapterResponseModel>>
v1StudioProjectsProjectIdChaptersPost({
required String? projectId,
String? xiApiKey,
required BodyCreateChapterV1StudioProjectsProjectIdChaptersPost? body,
}) {
generatedMapping.putIfAbsent(
AddChapterResponseModel,
() => AddChapterResponseModel.fromJsonFactory,
);
return _v1StudioProjectsProjectIdChaptersPost(
projectId: projectId,
xiApiKey: xiApiKey?.toString(),
body: body,
);
}