getModel method

Future<AIModel?> getModel(
  1. String modelId
)

Get information about a specific model

API Reference: https://docs.anthropic.com/en/api/models

Returns detailed information about a specific model including its capabilities, creation date, and display name.

Implementation

Future<AIModel?> getModel(String modelId) async {
  return _models.getModel(modelId);
}