getVoiceSettings method
Get settings for a voice Returns a VoiceSettings object
Implementation
Future<VoiceSettings> getVoiceSettings(String voiceId) async {
try {
final response = await _dio.get('/v1/voices/$voiceId/settings');
return VoiceSettings.fromJson(response.data);
} catch (error) {
throw _handleError(error);
}
}