textToAudio method

Future<Map<String, dynamic>> textToAudio(
  1. Text2Audio schema
)

Implementation

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