textToSpeech method

Future<Map<String, dynamic>> textToSpeech(
  1. Text2Speech schema
)

Implementation

Future<Map<String, dynamic>> textToSpeech(Text2Speech schema) async {
  final endpoint = '${audioBaseUrl}text_to_speech';
  return await _post(endpoint, data: schema.toJson());
}