getModelsList method
get the Models as OpenAiModels object
Implementation
Future<OpenAiModels> getModelsList() async {
try {
_checkApi();
final response = await service.getModelsList(apiKey: _apiKey);
return response;
} catch (e) {
throw _exceptionCheck(e);
}
}