v1DubbingResourceDubbingIdTranslatePost method
Future<Response<SegmentTranslationResponse> >
v1DubbingResourceDubbingIdTranslatePost({
- required String? dubbingId,
- String? xiApiKey,
- required BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdTranslatePost? body,
Translates All Or Some Segments And Languages @param dubbing_id ID of the dubbing 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<SegmentTranslationResponse>>
v1DubbingResourceDubbingIdTranslatePost({
required String? dubbingId,
String? xiApiKey,
required BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdTranslatePost?
body,
}) {
generatedMapping.putIfAbsent(
SegmentTranslationResponse,
() => SegmentTranslationResponse.fromJsonFactory,
);
return _v1DubbingResourceDubbingIdTranslatePost(
dubbingId: dubbingId,
xiApiKey: xiApiKey?.toString(),
body: body,
);
}