create static method
CreateVoice
create({
- String? special_type,
- String? text,
- String? exec_path,
- String? model_path,
- String? output_file,
- int? speaker_id,
override
return original data json
Implementation
static CreateVoice create({
String? special_type,
String? text,
String? exec_path,
String? model_path,
String? output_file,
int? speaker_id,
}) {
CreateVoice createVoice = CreateVoice({
"@type": special_type,
"text": text,
"exec_path": exec_path,
"model_path": model_path,
"output_file": output_file,
"speaker_id": speaker_id,
});
return createVoice;
}