listModels method
listModels
If you GET
the models
directory, it used the list
method to list
all of the models available through the API, including both the Gemini and PaLM family models.
Implementation
@override
Future<List<GeminiModel>> listModels() => _impl.listModels();